Created
May 3, 2015 11:09
-
-
Save andyf-7/4ce6ea4e68942bf41abf to your computer and use it in GitHub Desktop.
A to Z character print example: a b c d...... Z
This file contains 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
var first = "a", last = "z"; | |
for(var i = first.charCodeAt(0); i <= last.charCodeAt(0); i++) { | |
document.write( eval("String.fromCharCode(" + i + ")") + " " ); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment