Home

Create An Array With The Letters Of The Alphabet

javascript
const letters = [...Array(26)].map((_, i) => String.fromCharCode('A'.charCodeAt(0) + i));

this produces an array of upper case letters

~ fin ~