2/6 More People


#1


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

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 = {
    firstName: "Mary",
    lastName: "Johnson",
    phoneNumber: "(650) 888-8888",
    email: "mary.johnson@example.com"
};
var contacts = [bob, mary];

console.log=mary.phoneNumber


#2

Have you tried console.log(mary.phoneNumber); in stead of console.log=mary.phoneNumber?


#3

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.