Determines the maximum value of an Array
given specified criteria.
A callback that yields the property/value of the items to compare during the sort.
Determines the minimum value of an Array
given specified criteria.
A callback that yields the property/value of the items to compare during the sort.
Determines if this Array contains the specified value.
The value to search
Converts this Array into one that matches the length specified by the argument, match
. If this Array has items, they are repeated
until the specified length is reached; otherwise, undefined
is used to fill out the extra space.
If match
is an Array
, then the length of match
is used; otherwise, the numeric value of match
is used.
If true
, the final length of the Array is truncated to the value specified in match
; otherwise, the greater of match
and the length of this Array is used.
Set/Gets the last item in this Array.