Skip to content

niftinessafoot/randomize-array

Repository files navigation

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.

license

MIT © Matthew Smith

made with ❤️ and ☕️ by

Niftiness Afoot! Matthew Smith