Condense arrays with reduce- why "0"?

It’s the initial value. If it’s not provided, the first element in the array will be the initial value.

4 Likes