@afoot/randomize-array
v2.0.2
Published
Re-order an array’s elements with a random sort.
Downloads
3
Readme
randomize array
Re-order an array’s elements with a random sort.
usage
import (RandomizeArray) from '@afoot/randomize-array';
const newArray = RandomizeArray([1,2,3]);
console.log(newArray); // Returns [2,3,1] or an other random iteration.