Skip to content

Instantly share code, notes, and snippets.

@robertoentringer
Forked from 6174/Random-string
Created August 2, 2019 18:52
Show Gist options
  • Save robertoentringer/86e66ed738d0985eef068d3c4bc6ec15 to your computer and use it in GitHub Desktop.
Save robertoentringer/86e66ed738d0985eef068d3c4bc6ec15 to your computer and use it in GitHub Desktop.
Generate a random string in JavaScript In a short and fast way!
//http://stackoverflow.com/questions/105034/how-to-create-a-guid-uuid-in-javascript
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