-
-
Save jgphilpott/039612f921bf977e5070470ab8f24296 to your computer and use it in GitHub Desktop.
An array of uppercase and lowercase letters.
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
const alphabet = (function() { | |
letters = [...Array(26)].map((value, index) => String.fromCharCode(index + 65)) | |
return letters.map(letter => { | |
return { lower: letter.toLowerCase(), upper: letter.toUpperCase() } | |
}) | |
})() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment