Displaying people won't work can somebody please help


#1



Replace this line with your code. 
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];

// printPerson added here
var printPerson = function(person) {
    console.log(person.firstName + " " + person.lastName);
 
};
printPerson(contacts[0]);
printperson(contacts[1]);


#2

@presoolala,

Have a close look at

printperson