| .every() |
The every() method tests whether all elements in the array pass the test implemented by the provided function. It returns a Boolean value. |
| .flat() |
The flat() method creates a new array with all sub-array elements concatenated into it recursively up to the specified depth. |
| .find() |
The find() method returns the value of the first element in the provided array that satisfies the provided testing function. |
| .findIndex() |
The findIndex() method returns the index of the first element in the array that satisfies the provided testing function. Otherwise, it returns -1, indicating that no element passed the test. |
| .fill() |
The fill() method changes all elements in an array to a static value, from a start index (default 0) to an end index (default array.length). It returns the modified array. |
| .filter() |
The filter() method creates a new array with all elements that pass the test implemented by the provided function. |
| .forEach() |
The forEach() method executes a provided function once for each array element. |
| .from() |
The Array.from() method creates a new, shallow-copied Array instance from an array-like or iterable object. |
| .includes() |
The includes() method determines whether an array includes a certain value among its entries, returning true or false as appropriate. |
| .indexOf() |
The indexOf() method returns the first index at which a given element can be found in the array, or -1 if it is not present. |
| .join() |
The join() method creates and returns a new string by concatenating all of the elements in an array (or an array-like object), separated by commas or a specified separator string. If the array has only one item, then that item will be returned without using the separator. |
| .keys() |
The keys() method returns a new Array Iterator object that contains the keys for each index in the array. |
| .lastIndexOf() |
The lastIndexOf() method returns the index within the calling String object of the last occurrence of the specified value, searching backwards from fromIndex. Returns -1 if the value is not found. |
| .length |
The length property of an object which is an instance of type Array sets or returns the number of elements in that array. The value is an unsigned, 32-bit integer that is always numerically greater than the highest index in the array. |
| .map() |
The map() method creates a new array with the results of calling a provided function on every element in the calling array. |
| .pop() |
The pop() method removes the last element from an array and returns that element. This method changes the length of the array. |
| .push() |
The push() method adds one or more elements to the end of an array and returns the new length of the array. |
| .reduce() |
The reduce() method executes a reducer function (that you provide) on each element of the array, resulting in a single output value. |
| .reverse() |
The reverse() method reverses an array in place. The first array element becomes the last, and the last array element becomes the first. |
| .shift() |
The shift() method removes the first element from an array and returns that removed element. This method changes the length of the array. |
| .slice() |
The slice() method returns a shallow copy of a portion of an array into a new array object selected from begin to end (end not included) where begin and end represent the index of items in that array. The original array will not be modified. |
| .slice.call() |
|
| .some() |
The some() method tests whether at least one element in the array passes the test implemented by the provided function. It returns a Boolean value. |
| .sort() |
The sort() method sorts the elements of an array in place and returns the sorted array. The default sort order is ascending, built upon converting the elements into strings, then comparing their sequences of UTF-16 code units values. |
| .splice() |
The splice() method changes the contents of an array by removing or replacing existing elements and/or adding new elements in place. |
| .split() |
The split() method turns a String into an array of strings, by separating the string at each instance of a specified separator string. |
| .unshift() |
The unshift() method adds one or more elements to the beginning of an array and returns the new length of the array. |