boolean every(
function fn, [
object thisp])
Tests whether all elements in the array pass the
test implemented by the provided function.
Creates a new array with all elements that pass the test
implemented by the provided function.
forEach(
function fn, [
object thisp])
Executes a provided function once per array element.
number indexOf(
object e, [
number i])
Returns the first index at which a given element can be
found in the array, or -1 if it is not present.
Returns the last index at which a given element can be
found in the array, or -1 if it is not present.
Creates a new array with the results of calling a provided
function on every element in this array.
boolean some(
function fn, [
object thisp])
Tests whether some element in the array passes the test
implemented by the provided function.
boolean every(function fn, [object thisp])
Parameters:
fn - function.
[thisp] - this for function.
Returns:
passed
Array filter(function fn, [object thisp])
Parameters:
fn - function.
[thisp] - this for function.
Returns:
forEach(function fn, [object thisp])
Parameters:
fn - function.
[thisp] - this for function.
number indexOf(object e, [number i])
Parameters:
e - element.
[i] - start index.
Returns:
index or -1
number lastIndexOf(object e, [number i])
Parameters:
e - element.
[i] - start index.
Returns:
index or -1
Array map(function fn, [object thisp])
Parameters:
fn - function.
[thisp] - this for function.
Returns:
boolean some(function fn, [object thisp])
Parameters:
fn - function.
[thisp] - this for function.
Returns:
passed
Arrayclass with the functions added in JavaScript 1.6.For more information, please visit http://developer.mozilla.org.