Skip to main content

array.reverse()

Reverses the order of the elements in an array

Availability

Device + Agent

Returns

Nothing

Description

This method reverses the order of the elements within the array: the last item becomes the first, and vice versa.

Example Code