APPLE 323c2f1633 wesmiler 点什么广告 il y a 3 ans
..
index.js 323c2f1633 wesmiler 点什么广告 il y a 3 ans
license 323c2f1633 wesmiler 点什么广告 il y a 3 ans
package.json 323c2f1633 wesmiler 点什么广告 il y a 3 ans
readme.md 323c2f1633 wesmiler 点什么广告 il y a 3 ans

readme.md

array-shuffle Build Status

Randomize the order of items in an array

Uses the Fisher–Yates algorithm.

Install

$ npm install --save array-shuffle

Usage

const shuffled = arrayShuffle([1, 2, 3, 4, 5, 6]);
//=> [3, 5, 4, 1, 2, 6]

License

MIT © Sindre Sorhus