Created
January 22, 2018 15:45
-
-
Save JakeTheCorn/f7bd3bcdcd626af210659b9db28bd269 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Array.prototype.shuffle = function() { | |
return this.sort(function() { | |
return 0.5 > Math.random(); | |
}); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment