Problem with code using "objects"


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.


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