reverse() Function

Function

reverse( array )

Returns an array in reverse order.

Parameters

Keyword Type Description

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: Fri, Sep 17, 2021 (04:05:09 PM)

On This Page

FEEDBACK