Skip to content

Instantly share code, notes, and snippets.

@mattkenefick
Created July 30, 2021 00:25
Show Gist options
  • Save mattkenefick/323ad52bac10011c06e591661b0d03b0 to your computer and use it in GitHub Desktop.
Save mattkenefick/323ad52bac10011c06e591661b0d03b0 to your computer and use it in GitHub Desktop.
Snippets in JavaScript: Alphabet as array
String.fromCharCode(...Array(123).keys()).slice(97).split('');
// ["a", "b", "c", "d", "e", "f", "g", "h", "i", "j", "k", "l", "m", "n", "o", "p", "q", "r", "s", "t", "u", "v", "w", "x", "y", "z"]
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment