array-random
v0.0.4
Published
Randomize the elements in a given array.
Downloads
3
Readme
Array Random
Randomize the elements in a given array.
Installation
To get the latest version, simply run
npm install array-random --save
Usage
const random = require('array-random')
const array = [1,2,3,4,5,6,7,8,9]
const randomized = random(array) // [1,4,3,2,6,8,7,9,5]