Skip to content

Instantly share code, notes, and snippets.

@alDuncanson
Created June 3, 2020 16:41
Show Gist options
  • Save alDuncanson/e21d791d3906b94f87db042cef8bd03b to your computer and use it in GitHub Desktop.
Save alDuncanson/e21d791d3906b94f87db042cef8bd03b to your computer and use it in GitHub Desktop.
Generate uppercase alphabet array
const alphabet = [...Array(26)].map((_, index) => String.fromCharCode(index + 65))
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment