Methods

static exports.default(array) → {Array.<any>}

Shuffle the given array using Fisher-Yates algoritm.
Returns the shuffled array.

Parameters:
Name Type Description
array Array.<any>

The array to be shuffled

Returns:
Array.<any>