Building an Address Book [2/6] Whats wrong with it?


#1

Hi there ,

I 'm stuck at 2/6 because I've got an error , and I doesn't know why ,
somebody can show me where I made ​​mistake ?
Thanks :smile:

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(contacts[1].phoneNumber);

#2

Oh, I've just found it, sorry

It should be:

var mary = {

   firstname: "Mary",
   lastName: "Johnson",
   phoneNumber: "(650) 888 - 8888",
   email: "mary.johnson@example.com"

};

instead of:

var = mary {

   firstname: "Mary",
   lastName: "Johnson",
   phoneNumber: "(650) 888 - 8888",
   email: "mary.johnson@example.com"
  
};