Skip to content

Latest commit

 

History

History
13 lines (9 loc) · 283 Bytes

readme.md

File metadata and controls

13 lines (9 loc) · 283 Bytes

JavaScript Array Shuffle

This is simple JavaScript library which shuffles the array randomly.
This modifies the existing array itself.

usage:

var arr = [1, 2, 3, 4, 5, 6];
array.shuffle();
console.log(array.join(", "));