reduce

reduce walks through an array carrying a running total, so a whole list of scores, prices or plays boils down to one answer, such as a total, a count or a best score.

Updated

Cheat sheet: reduce
Category
JavaScript
Level
Journeyman
Tags
Accumulator (javascript), Callback Function, JavaScript, reduce() (javascript)