Problem with code using "objects"


#1

The instruction are :

Define a function search that takes a single argument, name. If the argument passed to the function matches any of the first names in friends, it should log that friend's contact information to the console and return it.


#2

Hi I think that that you should call the function search() with the name of steve.