Skip to content

Instantly share code, notes, and snippets.

@jasenmichael
Forked from 6174/Random-string
Created September 12, 2019 20:26
Show Gist options
  • Save jasenmichael/c4d28b1531cb2e3a3ec77772aa67087a to your computer and use it in GitHub Desktop.
Save jasenmichael/c4d28b1531cb2e3a3ec77772aa67087a 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