Creates an array of shuffled values, using a version of the Fisher-Yates shuffle.
The array to shuffle.
The new shuffled array.
lodash.shuffle
shuffle([1, 2, 3, 4])// => [4, 1, 3, 2] Copy
shuffle([1, 2, 3, 4])// => [4, 1, 3, 2]
Creates an array of shuffled values, using a version of the Fisher-Yates shuffle.