Skip to content

Glossary: Vue.js

reduce

Also written: Array.reduce

A JavaScript array method that combines all items into one value, such as summing quantities into the cart `count`.

Where the book teaches it

Related terms

computed