npm.io
1.0.0 • Published 11 years ago

shuffle-list

Licence
MIT
Version
1.0.0
Deps
0
Vulns
0
Weekly
0

shuffle-list Build Status

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

Keywords