I figured this out but the help section on this is useless and the comments seem to be referring to a different problem? Or an outdated one. Also the provided material has not shown us how to return multiple items while using .Map() as well as teach us how to use a function with .Map(). It just asks you to return a list of names.
Check out the comments section underneath the hint and let me know if I am misunderstanding something.
By provided material I mean the material provided that is beside the code editor.
Not a big deal, it’s easy enough to figure out but most other problems usually provide the necessary information to solve the problem - and if not than the hints section is very helpful with steps to take - and if those don’t help there are usually comments relevant to the problem which can help expand your mind on the subject.
You are right, sometimes the material given may not be sufficient to understand a concept fully. If you are stucked, you can ask a specific question here on the forum or read further at MDN. If you want to understand how array.map works, you can read more Here at MDN.
I mainly meant there wasn’t any material showing how to return an object. But I suppose that should just be common knowledge. It’s pretty straight forward but I hadn’t seen how to do that before I actually looked it up. Now I know!
And okay if I get some time I will try and think of some alterations that could be made to the lesson.