Course contentsShow
JavaScript
Lesson 456 of 2,72312. Higher-Order FunctionsPro lesson

Reducing Without an Initial Value

When reduce uses the first element as initial accumulator and starts at index 1, plus the empty array edge case.

This lesson is for subscribers

You've completed the free preview. Subscribe to unlock every lesson in every course.