Loops and Arrays 2 - Help!


#1


https://www.codecademy.com/courses/javascript-beginner-en-NhsaT/2/4?curriculum_id=506324b3a7dffd00020bf661#

ReferenceError: Invalid left-hand side expression in postfix operation


var names = ["Ruben", "Jordan", "Ethan", "Teddy", "Logan"];
for (var i = 0; i < 5; 1++) {
    console.log("I know someone called" + " "  + names[i]);
}


#2

HI this line

for (var i = 0; i < 5; 1++)

you put 1++ instead of i++


#3

Thanks haha, silly eyes are not detecting stupid mistakes