Course · Section 11: Working With Arrays · Lecture 156: Data Transformations: map, filter, reduce
Implement `groupByLength(words)` that groups an array of strings by their character length. Return an object where each key is a length and each value is an array of words with that length.
+ 1 hidden test run on Submit.
Bucketing each string by its length produces an object mapping length to the matching words.
Run your code to see results.