2.More people. What's wrong? the result is the same


#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.johnson@example.com"
};
var contacts = new Array();
contacts[0] = bob.phoneNumber;
contacts[1] = mary.phoneNumber;
console.log(contacts[1]);


#2

HI you should create an array contacts with at the first index bob and at the second index mary.


#3

without 'phoneNumber' ? that's right?


#4

........Yes wihout it