Skip to content

Glossary: Software Design Patterns in JavaScript

reduce

Also written: Array.reduce

An array method that combines all items into one value using a function you supply, such as summing price times qty for an order.

Where the book teaches it

Related terms

StrategyCallback