_.reverse(array)
Reverses array so that the first element becomes the last, the second element becomes the second to last, and so on.
Note: This method mutates array and is based on Array#reverse.
(opens in a new tab)
Arguments
array (Array)
: The array to modify.
Returns
(Array)
: Returns array.