The Array object, as with arrays in other programming languages, enables storing a collection of multiple items under a single variable name, and has members for performing common array operations.
In JavaScript, arrays aren't primitives but are instead Array objects with the following core characteristics:
Creates a new Array object.
Returns the Array constructor.
Creates a new Array instance from an array-like object or iterable object.
Returns true if the argument is an array, or false otherwise.
Creates a new Array instance with a variable number of arguments, regardless of number or type of the arguments.
Reflects the number of elements in an array.
Contains property names that were not included in the ECMAScript standard prior to the ES2015 version and that are ignored for with statement-binding purposes.
Returns the array item at the given index. Accepts negative integers, which count back from the last item.
Returns a new array that is the calling array joined with other array(s) and/or value(s).
Copies a sequence of array elements within an array.
Returns a new array iterator object that contains the key/value pairs for each index in an array.
Returns true if every element in the calling array satisfies the testing function.
Fills all the elements of an array from a start index to an end index with a static value.
Returns a new array containing all elements of the calling array for which the provided filtering function returns true.
Returns the found element in the calling array, if some element in the array satisfies the testing function, or undefined if not found.
Returns the found index in the calling array, if an element in the array satisfies the testing function, or -1 if not found.
Returns a new array with all sub-array elements concatenated into it recursively up to the specified depth.
Returns a new array formed by applying a given callback function to each element of the calling array, and then flattening the result by one level.
Calls a function for each element in the calling array.
Groups the elements of an array into an object according to the strings returned by a test function.
Groups the elements of an array into a Map according to values returned by a test function.
Determines whether the calling array contains a value, returning true or false as appropriate.
Returns the first (least) index at which a given element can be found in the calling array.
Joins all elements of an array into a string.
Returns a new array iterator that contains the keys for each index in the calling array.
Returns the last (greatest) index at which a given element can be found in the calling array, or -1 if none is found.
Returns a new array containing the results of invoking a function on every element in the calling array.
Removes the last element from an array and returns that element.
Adds one or more elements to the end of an array, and returns the new length of the array.
Executes a user-supplied "reducer" callback function on each element of the array (from left to right), to reduce it to a single value.
Executes a user-supplied "reducer" callback function on each element of the array (from right to left), to reduce it to a single value.
Reverses the order of the elements of an array in place. (First becomes the last, last becomes first.)
Removes the first element from an array and returns that element.
Extracts a section of the calling array and returns a new array.
Returns true if at least one element in the calling array satisfies the provided testing function.
Sorts the elements of an array in place and returns the array.
Adds and/or removes elements from an array.
Returns a localized string representing the calling array and its elements. Overrides the Object.prototype.toLocaleString() method.
Returns a string representing the calling array and its elements. Overrides the Object.prototype.toString() method.
Adds one or more elements to the front of an array, and returns the new length of the array.
Returns a new array iterator object that contains the values for each index in the array.
Returns the values() function by default.