shuffle-list
v1.0.0
Published
Node module that shuffles the content of an array.
Downloads
2,710
Readme
shuffle-list
Node module that shuffles the content of an array.
Usage
var shuffleList = require('shuffle-list');
shuffleList([1, 2, 3, 4, 5]);
//=> [4, 3, 2, 5, 1]
API
shuffleList(array)
array
Type: array
The list to shuffle.
License
MIT © Emil Johansson