Created
September 30, 2018 18:07
-
-
Save bergwerf/46f2938d58d497e55d64532fea3d76bf to your computer and use it in GitHub Desktop.
Shortest JS to generate '0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ'
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
// This: | |
s='';for(i=47;i<83;)s+=String.fromCharCode(++i>57?i+7:i) | |
// Is the same as this: | |
s='0123456789ABCDEFGHIJKLMNOPQRSTUVWXYZ' |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment