2. More people


#1

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

var mary = new Object();
mary.firstname = "Mary";
mary.lastname = "Johnson";
mary.phoneNumber = "(650) 888 - 8888";
mari.email = "mary.johnson@example.com";

var contacts = [bob, mary];

Oops, try again. it look like contact isnt an array..

What wrong with my code?


#2

HI this line

mari.email = "mary.johnson@example.com";

you wrote mari instead of mary