2. More People


#1



https://www.codecademy.com/courses/building-an-address-book/0/2?curriculum_id=506324b3a7dffd00020bf661


Oops, try again. There was a problem with your syntax.
SyntaxError: Unexpected token


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.com";
};


var contacts = [bob,mary];
console.log(contacts[1].phoneNumber);


#2

items in a object are separated by a comma (,), not a semi-colon (;), you do this right for your first object, not your second


#3

Thank you, it works now!