Last active
December 17, 2018 14:44
-
-
Save pedrouid/8bd1571a13763507d9967eda5a04527f to your computer and use it in GitHub Desktop.
Random ID Generator (Javascript) | 170 bytes
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| function r(l=32){var r="",a='abcdefghijklmnopqrstuvwxyz',c=a.toUpperCase()+a+'0123456789';for(var i=0; i<l; i++)r+=c.charAt(Math.floor(Math.random()*c.length));return r;} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment