Created
April 15, 2016 06:49
-
-
Save wassname/229c26aa3019ebee158e13ec1b741906 to your computer and use it in GitHub Desktop.
Javascript_random_string_one_liner
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
// using Math.random | |
Math.random().toString(36).slice(2) | |
// => "j9ix7gr3xw7iiww8nqkh5b3xr" |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment