Returns a new Array with all of the elements that pass the test implemented by the callback function that is run against the specified Array, thisObject.
Returns an iterator containing all index/value pairs of this array.
The iterator produces a series of two-element arrays with the first element as the index and the second element as the value.
Returns true if every element in this array satisfies the test
performed in the callback function. The callback function is
invoked with three arguments: the value of the element,
the index of the element, and the Array object being traversed.
Parameters:
callback - the function to call to determine if every element in this array satisfies the test defined by the function. The callback function is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
Returns:
true if every element in this array satisfies the test
performed in the callback function.
Returns true if every element in the thisObject argument satisfies the
test performed in the callback function, false otherwise.
The callback function is invoked with three arguments: the value of the
element, the index of the element, and the Array object being traversed.
Parameters:
callback - the function to call to determine if every element in this array satisfies the test defined by the function. The callback function is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
thisObject - the Object to use as 'this' when executing callback.
Returns:
true if every element in thisObject satisfies the test
performed in the callback function, false otherwise.
Returns a new Array with all of the elements that pass the test
implemented by the callback function. The callback function is
invoked with three arguments: the value of the element,
the index of the element, and the Array object being traversed.
Parameters:
callback - the function that is called on this Array and which returns a new Array containing the elements that satisfy the function's test. The callback function is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
Returns:
a new Array containing the elements that satisfy the
function's test.
Returns a new Array with all of the elements that pass the test
implemented by the callback function that is run against the
specified Array, thisObject. The callback function is
invoked with three arguments: the value of the element,
the index of the element, and the Array object being traversed.
Parameters:
callback - the function that is called on the thisObject Array and which returns a new Array containing the elements that satisfy the function's test. The callback function is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
thisObject - the Object to use as 'this' when executing callback.
Returns:
a new Array containing the elements that satisfy the
function's test.
Returns the first value within the array that satisfies the test
defined in the callback function.
Parameters:
callback - The function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
thisObject - The object to use as 'this' when executing callback.
Returns:
The first value within the array that satisfies the test
defined in the callback function, undefined if no matching value was found.
Returns the index of the first value within the array that satisfies the test
defined in the callback function.
Parameters:
callback - The function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
thisObject - The object to use as 'this' when executing callback.
Returns:
The index of the first value within the array that satisfies the test
defined in the callback function, -1 if no matching value was found.
Runs the provided callback function once for each element present in
the Array. The callback function is invoked only for indexes of the
Array which have assigned values; it is not invoked for indexes which
have been deleted or which have never been assigned a value.
Parameters:
callback - the function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
Runs the provided callback function once for each element present in
the specified Array, thisObject. The callback function is invoked only
for indexes of the Array which have assigned values; it is not invoked
for indexes which have been deleted or which have never been assigned
a value.
Parameters:
callback - the function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
thisObject - the Object to use as 'this' when executing callback.
Returns the last index at which a given element can be found in the
array starting at fromIndex, or -1 if it is not present.
The array is searched backwards.
Parameters:
elementToLocate - the element to locate in the Array.
fromIndex - the index from which to start looking for the element. The array is searched backwards.
Returns:
the index of the element or -1 if it is no present.
Creates a new Array with the results of calling the specified function
on every element in this Array. The callback function is invoked only
for indexes of the Array which have assigned values; it is not invoked
for indexes which have been deleted or which have never been assigned
values.
Parameters:
callback - the function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
Returns:
a new Array with the results of calling the specified function
on every element in this Array.
Creates a new Array with the results of calling the specified function
on every element in the specified Array. The callback function is invoked only
for indexes of the Array which have assigned values; it is not invoked
for indexes which have been deleted or which have never been assigned
values.
Parameters:
callback - the function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
thisObject - the Object to use as 'this' when executing callback.
Returns:
a new Array with the results of calling the specified function
on every element in this Array.
Returns true if any of the elements in the Array pass the test
defined in the callback function, false otherwise.
Parameters:
callback - the function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
Returns:
true if any of the elements in the Array pass the test
defined in the callback function, false otherwise.
Returns true if any of the elements in the specified Array pass the test
defined in the callback function, false otherwise.
Parameters:
callback - the function to call, which is invoked with three arguments: the value of the element, the index of the element, and the Array object being traversed.
thisObject - the Object to use as 'this' when executing callback.
Returns:
true if any of the elements in the Array pass the test
defined in the callback function, false otherwise.