Unexpected token )? Not sure what I'm missing here. Thanks


#1

var names = ["mike", "chris", "meghan", "tom", "steve"];

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


#2
for (var i = 0; i < names.length, i++)

should be

for (var i = 0; i < names.length; i++)

#3

THANK YOU! I hate missing obvious stuff like that.