DEV Community

Discussion on: JavaScript Interview: Write a custom reduce function

Collapse
 
junaidshaikhjs profile image
Junaid Shaikh

Nice article.

The for loop should start from 1 if no initial value is provided.