array.reverse

Reverses the order of the elements in place.

array.reverse(id: array<any>)

Parameters

Example

a.reverse()