Question for Introduction to Object 1 (Building an Address Book) Thx!


#1

The question requires me to create a function called printperson and it is what I have done below.
It says I have not created the function. What wrong with it ?

var contacts = [bob, mary];

// printPerson added here
var printPeron = function(person){
console.log(person.firstName + " " + person.lastName);
};

printPeron(contacts[0]);
printPerson(contacts[1]);


#2

you misspelled printPerson


#3

Thank you !!!

I did check the code I typed =.=


#4