Shuffle a given array
shuffle([1, 2, 3, 4, 5]) // [3, 2, 5, 1, 4] Copy
shuffle([1, 2, 3, 4, 5]) // [3, 2, 5, 1, 4]
The array to shuffle
A shuffled array
Shuffle a given array
Example