Here's my script:
var alphabet = ["A", "B", "C", "D", "3", "F", "G", "H", "I", "J", "K", "L", "M", "N", "O", "P", "Q", "R", "S", "T", "U", "V", "W", "X", "Y", "Z"];
var str = [];
for (i=0; i<alphabet.length; i++) {
str.push(i);
console.log(str.join(""));
}
It's printing out the indices of str (0, 01, 012...) rather than the values (A, AB, ABC...). What is going on here?