2. more people print right but no pass?


#1

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"
};
var contacts =[bob, mary];
console.log = (contacts[1].phoneNumber);

Whats the problem? It prints the right number, but doesnt pass me.


#2

Hi this part

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

Remove the = after console.log


#3

And, refresh the page to restore JavaScript, since the above line has overwritten the console.log() method.