reverse

array reverse(array)

Returns a copy of array where the elements are reversed.

Parameters

  1. arrayarray to reverse.

Returns