"unexpected token <"


#1

Here's my code:

var names = ["no", "yes", "maybe", "so", "not"];

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

I don't understand how < is an unexpected token


#2

for(var i = 0,<
             ^

#3

That didn't work. Any other thing I could try?


#4

Actually never-mind, I got it now. Thank you for pointing that out.