2 Objects + array task


I do not get what is wrong with my code. It should only print out first and second names of a person but it prints out everything !


You haven't yet called your function, i.e.



yeah i got it, thanks for the help anyway , i was to fast to post it on forum )