Loops and arrays


#1

In reviewing array examples before beginning the next lesson, I found that I had a syntax error. Console tells me that I am missing an [ but I don't see that. Can anyone see a syntax error? Thanks.

// Click on "Stuck? Get a hint!" if you get stuck!
var names =["Jeanne"; "Joanie", "Riley", "Patricia"];
for ( var i=0; i < names.length; i ++) 
{ console.log("I know someone called" + " " + names[i]);}

#2

You have a semicolon separating two of your elements in your array. Replace it with a comma.