Building an Address Book(3/6)


#1

Help please, I don't know where is the mistake..


#2

Have you tried calling the function?


#3

yes. And its print, but same alert


#4

Its work now. Thanks you))


#5

Take the two console.logs out of the function.
you want to call the function like this:

printPerson();

then you have to pass the parameters you want the function to print out like this:

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

hope this helps!


#6

This topic was automatically closed 7 days after the last reply. New replies are no longer allowed.