# 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.

![Cheat sheet: reduce](https://fsdtrainingmedia.blob.core.windows.net/public/images/2026/10/0eacd6a80af34111947ba8fec5a2e2e4.webp)

- Category: JavaScript
- Level: Journeyman
- Tags: Accumulator (javascript), Callback Function, JavaScript, reduce() (javascript)
- Updated: November 1, 2026

Source: https://www.ask-codey.com/cheat-sheets/javascript-array-methods-reduce-cheat-sheet
