Randomizes the order of the values of an array, returning a new array
const foo = [1, 2, 3];shuffle(foo); // [2,3,1], foo = [1,2,3]
Generated using TypeDoc
Randomizes the order of the values of an array, returning a new array
Example