0.0.1 • Published 7 years ago
array-random-shuffle v0.0.1
array-random-shuffle
Randomize the order of array items
Motivation
Inspired by Sindre Sorhus
Installation
$ npm install --save array-random-shuffle
Usuage
let arrayRandomShuffle = require('array-random-shuffle');
const shuffled = arrayRanShuffle([10, 20, 30, 40, 50, 60]);
//=> [30, 50, 40, 10, 20, 60]
License
MIT © Bharathvaj Ganesan
0.0.1
7 years ago