2.more people


what is wrong it say"Oops, try again. Did you remember to print out mary's phone number?

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

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

var contacts = [bob, mary];


This would be, mary.phoneNumber. However, the lesson would like us to use the array reference. mary is the second element in the array, so it has index, 1.



and do not use