SyntaxError: Unexpected token ,


#1


https://www.codecademy.com/courses/javascript-beginner-en-NhsaT/2/4?curriculum_id=506324b3a7dffd00020bf661#


SyntaxError: Unexpected token ,

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

}
WHAT'S WRONG?
`


#2

look your array, you start with { and end with ], which one is used for arrays?


#3

Thank you!
I should be more focus.


#4