3 Displaying people


My code works just wondering cause it doesn't actually print out to the console is it wrong??

`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];

var printPerson = function(person){
person.firstName = contacts.firstName;
person.lastName = contacts.lastName;



Do you recall how to print something to console?
Does your code contain anything like that?

Your code works when it matches your expectations, so this would mean that your code is currently not working.


Thank you very much mate!