Arrays.reverse()

Build a new array which is an exact clone of an existing array, but in reverse order.

Usage

Hover over inputs/exits for more info.

var Arrays = require('machinepack-arrays');


// Build a new array which is an exact clone of an existing array, but in reverse order.

Arrays.reverse({

array: [ '*' ],

}).execSync();

Inputs

array required

The array to reverse.

[ '*' ]

Exits

error

An unexpected error occurred.

success

OK.

(varies based on provided inputs)