js get alphabet as array

JavaScript
const alphabet = ["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"];
//for upper case use the toUpperCase() functionconst alphabet = "abcdefghijklmnopqrstuvwxyz".split("");
Source

Also in JavaScript: