Skip to content

arrShuffle JavaScriptDart

Shuffle the order of the given array and return.

Parameters

  • array::any[]

Returns

any[]

Examples

javascript
arrShuffle([1, 2, 3, 4]); // Returns [4, 2, 3, 1]

Released under the MIT License