← You've been writing this `reduce` a hundred times. `Object.groupBy` does it in one.Quiz

Object.groupBy and Map.groupBy

Grouping an array by a key without the hand-written reduce. What Object.groupBy returns, when to reach for Map.groupBy instead, and the null-prototype detail that trips people up.

questions6
pass mark70%
resultsat the end

No account needed. Answer all 6 questions, then see your score with every answer explained and a reference to the spec or MDN — pass and you can claim a certificate.