Course · Section 11: Working With Arrays · Lecture 157: The map Method
Implement `toLabels(items)` returning the `name` of each item, ready to render as text.
+ 1 hidden test run on Submit.
map transforms the list of objects into a list of their name strings, ready to render as text or option labels.
Run your code to see results.