How to generate 26 english letters in js.

const alphabets = [];
const start = 'a'.charCodeAt(0);
for(let i = 0; i < 26; i++) {
    alphabets.push(String.fromCharCode(start + i));
}
Post tagged with: js