Loops and Arrays II missing )


#1

var names=["ok","ok","ok","ok","ok"];
for ( var i = 0; i < names.length; i++){
console.log("I know someone called " names[i]);
}

SyntaxError: missing ) after argument list

Where am i missing this ")"?


#2

you need a concatenation operation

console.log("I know someone called " +names[i]);

#3

ahh thank you. totally forgot that one because it said i missen an )