Skip to content

Instantly share code, notes, and snippets.

@yabasha
Forked from 6174/Random-string
Last active July 20, 2020 08:13
Show Gist options
  • Save yabasha/4d7f2cffd04f6d940eb71c559ca0e4b0 to your computer and use it in GitHub Desktop.
Save yabasha/4d7f2cffd04f6d940eb71c559ca0e4b0 to your computer and use it in GitHub Desktop.
Generate a random string in JavaScript In a short and fast way!
Math.random().toString(36).substring(2, 15) + Math.random().toString(36).substring(2, 15);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment