Skip to content

Instantly share code, notes, and snippets.

@jacksonhoose
Created November 27, 2014 03:42
Show Gist options
  • Save jacksonhoose/80edbb8fd3e5fafaccf6 to your computer and use it in GitHub Desktop.
Save jacksonhoose/80edbb8fd3e5fafaccf6 to your computer and use it in GitHub Desktop.
alphabet
alphabet = function(charStart, charStop) {
charStart = charStart || 97;
charStop = charStop || 122;
var alphabet = [];
for(; charStart <= charStop; charStart++)
alphabet.push(String.fromCharCode(charStart))
return alphabet;
};
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment