Skip to content

Instantly share code, notes, and snippets.

@AleksandrMihhailov
Created December 8, 2013 09:12
Show Gist options
  • Save AleksandrMihhailov/7854992 to your computer and use it in GitHub Desktop.
Save AleksandrMihhailov/7854992 to your computer and use it in GitHub Desktop.
Generate random password by JavaScript.
// Generate random password
Math.random().toString(36).substr(2); // return some of "ms6ons4p132qpvi"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment