12. Loops and arrays II - syntax error


Hello everyone, I don't know what's wrong in my code.. Can you help me, please ?

var names ["Kim", "Kevin", "Kandi", "Kari", "Keith"];
for (var i = 0; i < names.length; i ++) {
console.log("I know someone called " + names[i]);


You are missing an equals sign = on this line.


Oh :slight_smile: Thank you, really :slight_smile: It works


This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.