The ability to reply to discussions is limited to PRO members. Want to join in the discussion? Click here to subscribe now.

Produce a single value from an Array with reduce

Produce a single value from an Array with reduce

8:32
Array reduce is used to accumulate a new value by applying a function that you provide to each item in your source array. Reduce behaves differently based on whether or not you provide an initial value - we cover this in depth in this lesson and provide some practical use cases.
Watch this lesson now
Avatar
egghead.io

Array reduce is used to accumulate a new value by applying a function that you provide to each item in your source array. Reduce behaves differently based on whether or not you provide an initial value - we cover this in depth in this lesson and provide some practical use cases.

Avatar
Sina

Thank you Shane for this detailed serie.

HEY, QUICK QUESTION!
Joel's Head
Why are we asking?