The The reference to the original array, now reversed. Note that the array is reversed in place, and no copy is made. The The ExamplesReversing the elements in an array The following example creates an array
Reversing the elements in an array-like object The following example creates an array-like object
The reverse() method returns the reference to the same arrayThe
In case
you want
Using reverse() on sparse arraysSparse arrays remain sparse after calling
Specifications
Browser compatibilityBCD tables only load in the browser See also |