Avoid Common Mistakes when Working with Reduce

Share this video with your friends

Send Tweet

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.