1×
Become a member
to unlock all features
Autoplay

    Avoid Common Mistakes when Working with Reduce

    javascriptJavaScript

    In this lesson, we will be looking at two common mistakes programmers make when working with reduce. We will see why we always need to pass in an initial value for our accumulator as well as return the accumulator.