Skip to content

Instantly share code, notes, and snippets.

@duc170390
Forked from 6174/Random-string
Created December 3, 2019 03:54
Show Gist options
  • Select an option

  • Save duc170390/f47790041dbc41c44f318038a37d8e1b to your computer and use it in GitHub Desktop.

Select an option

Save duc170390/f47790041dbc41c44f318038a37d8e1b 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