Created
December 13, 2016 03:33
-
-
Save soggybag/86d6d546f5e50901b9e5d1f9a1028569 to your computer and use it in GitHub Desktop.
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
// List all of the letters of the alphabet lowercase | |
// get the starting code | |
var start = "a".charCodeAt(0); | |
var count = 26; // How many letters | |
var end = start + count; | |
for (var i = start; i < end; i++) { | |
var letter = String.fromCharCode(i) | |
console.log("Char:"+letter); | |
$("body").append("<div>"+letter+"</div>"); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment