Created
September 26, 2014 08:44
-
-
Save felixzapata/ef4a399aaf6fa16775bb to your computer and use it in GitHub Desktop.
Generate a string of 5 random characters in Javascript
This file contains hidden or 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
// http://stackoverflow.com/questions/1349404/generate-a-string-of-5-random-characters-in-javascript | |
Math.random().toString(36).substring(7) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment