12. Loops and arrays II



Omg... help me please... What is wrong with it?

Oops, try again. Your code should have printed 'I know someone called John', but didn't. Make sure to type the 'I know someone called ' part exactly right, and don't forget the space between that phrase and the name!

var names = ["John", "Mike", "Jessica", "Antonio", "Mary"];
for (var i = 0; i < names.lenght; i++) {
    console.log("I know someone called " + names[i]);


you misspelled length


:grinning: thank you