Created
December 15, 2017 12:46
-
-
Save hartraft/19d58969ea29e353c0b4961c4b1f3d7e to your computer and use it in GitHub Desktop.
Short gist to retrieve the letters a...z of the alphabet
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
console.log( 'lowercase alphabet %s', String.fromCharCode( ...Array( 123 ).keys() ).slice( 97 ) ); | |
console.log( 'uppercase alphabet %s',String.fromCharCode( ...Array( 91 ).keys() ).slice( 65 ) ); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment