• What output will this take?

Question related to mission Bigger Price

 

It's unclear what you would like this function to return.

I tried returning the name of the top most expensive good, then the price, then the name and the price. Nothing satisfied the problem.

You ask for the output to be "the same as the second Input argument". So that's data? So you want me to empty the array except for the top most expensive goods?

The question is too vague for me to continue to work out the problem. Please advise what I need to return to solve this. Thanks.