Array.from() method creates a new
Array instance from an array-like or iterable object.
determines whether the passed value is an
Array.of() method creates a new
Array instance with a variable number of arguments, regardless of number or type of the arguments.
Date.now() method returns the number of milliseconds elapsed since 1 January 1970 00:00:00 UTC.
object-fit CSS property specifies how the contents of a replaced element should be fitted to the box established by its used height and width.
copyWithin() method shallow copies part of an array to another location in the same array and returns it, without modifying its size.
every() method tests whether all elements in the array pass the test implemented by the provided function.
fill() method fills all the elements of an array from a start index to an end index with a static value.
filter() method creates a new array with all elements that pass the test implemented by the provided function.
method returns a value
in the array, if an element in the array satisfies the provided testing function. Otherwise
findIndex() method returns an index in the array, if an element in the array satisfies the provided testing function. Otherwise -1 is returned.
includes() method determines whether an array includes a certain element, returning
false as appropriate.
indexOf() method returns the first index at which a given element can be found in the array, or -1 if it is not present.
lastIndexOf() method returns the last index at which a given element can be found in the array, or -1 if it is not present. The array is searched backwards, starting at
map() method creates a new array with the results of calling a provided function on every element in this array.
reduceRight() method applies a function against an accumulator and each value of the array (from right-to-left) has to reduce it to a single value.
method returns a string in simplified
extended ISO format (ISO 8601
), which is always 24 or 27 characters long (
). The timezone is always zero UTC offset, as denoted by the suffix "
bind() method creates a new function that, when called, has its
this keyword set to the provided value, with a given sequence of arguments preceding any provided when the new function is called.
) and converting values to JSON. It can't be called or constructed, and aside from its two method properties it has no interesting functionality of its own.
Object.assign() method is used to copy the values of all enumerable own properties from one or more source objects to a target object. It will return the target object.