Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- function() {
- var i = this.length,
- j, k;
- for (i; i;) {
- j = Math.floor(Math.random() * this.length);
- k = this[--i];
- this[i] = this[j];
- this[j] = k;
- }
- }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement