Array
length number
name string
prototype object
isArray(value) function
Determine if the given value is an Array. Returns true if the argument is an array, otherwise false.
value: The value to be checked.
Returns: True if 'value' is an array, otherwise false.
from(arrayLike, mapFn, thisArg) function
Create a new array from an array-like or iterable object. An optional map function can be invoked on each element before it is added to the new array.
arrayLike: An array-like or iterable object to convert.
mapFn: Optional. A function to call on every element of the new array.
thisArg: Optional. A value to use as 'this' within the map function.
Returns: A new array populated with elements processed from arrayLike.
of(elements) function
Create a new array with a variable number of arguments, regardless of the number or type of the arguments. Unlike the Array constructor, there is no special treatment for a single numeric argument.
elements: A variable number of arguments which become array elements.
Returns: A new array containing the provided arguments.