Course · Section 11: Working With Arrays · Lecture 157: The map Method
Implement `groupBySection(items, key)` returning an object that groups items by the value of `item[key]`, for rendering sectioned lists.
+ 1 hidden test run on Submit.
Iterating once and bucketing each item under item[key] yields a map of arrays, ready to render as sectioned lists.
Run your code to see results.