Loops and arrays II


I am almost sure I typed my code in the right way but I keep getting this error message: SyntaxError: Expected ')'. Here is my code:

// Click on "Stuck? Get a hint!" if you get stuck!

var names = ["Dan", "Bill", "Tom", "Bob", "Joe"]
for(i = 0; i < 5; i++1) {
    console.log("I know someone called " + names[i]);


Never mind, I figured it out.

code removed by moderator


Good job! Unfortunately, I need to remove the working code from your post. :frowning: Nevertheless, though, very glad you were able to solve the problem :smile: