Skip to content

Instantly share code, notes, and snippets.

@kerimdzhanov
Forked from 6174/Random-string
Created April 9, 2018 11:42
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kerimdzhanov/5cb48ac7fca8d9c705d789cd6f1d9b7a to your computer and use it in GitHub Desktop.
Save kerimdzhanov/5cb48ac7fca8d9c705d789cd6f1d9b7a 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