JQUERY with .each create ['A', 'B', 'C', 'D', 'E', 'F'] code example
Example 1: alphabet array js
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() function
Example 2: foreach jquery
$( "li" ).each(function( index ) {
console.log( index + ": " + $( this ).text() );
});