reverse() Function

Returns an array in reverse order.

Syntax

reverse( array )

array: (Any Type Array) The array to modify.

Returns

Any Type Array

Examples

You can experiment with this function in the test box below.

Test Input

reverse({10, 20, 30, 40}) returns 40, 30, 20, 10

Open in Github Built: Wed, Jan 12, 2022 (07:48:58 PM)

On This Page

FEEDBACK