[2/6] Wrong Code it says! Quite sure its right tho


#1

Hi there,
my code doesn't work. It says: SyntaxError: Unexpected EOF
Here's my code

var bob = {
firstName: "Bob",
lastName: "Jones",
phoneNumber: "(650) 777-7777",
email: "bob.jones@example.com"
};

var mary = {
firstName: "Mary",
lastName: "Johnson",
phoneNumber: "(650) 888-8888",
email: "mary.johnson@example
};

var contacts = [bob,mary];

console.log(contacts[1].phoneNumber);


#2

Hi,

you are missing the closing " at the end of Marys email address. If you add that it should work.

Thanks

Keith


#3

Thanks a lot. It works like a charm