README
skk-shuffle
A small module named skk-shuffle to shuffle a array. You can determine to change the source arr or return a new array by pass true as the second argument.
Example
install
npm install --save skk-shuffle
usage
var shuffle = require('skk-shuffle');
var arr = [1,2,3,4,5,6,7,8,9,10,11,12,13,14];
shuffle(arr) // return arr;
shuffle(arr, true) // return a new array without change source arr