Building an Address Book


#1

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

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

var contacts = new Array();
contacts[0]=bob;
contacts[1]=mary;

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

Error Message :
Oops, try again. There was a problem with your syntax.

Output Screen:
SyntaxError: missing ) after argument list


#2

try adding the phone number to " "

like " 650) 888-8888"