just-shuffle
Part of a library of zero-dependency npm modules that do just do one thing.
Guilt-free utilities for every occasion.
; ; // array with original elements randomly sorted; // array with original elements randomly sorted and all in new postions; // []; // [1]; // undefined; // undefined; // undefined; // undefined