Course · Section 11: Working With Arrays · Lecture 156: Data Transformations: map, filter, reduce
Implement `sumAll(nums)` returning the sum, using `reduce`.
+ 1 hidden test run on Submit.
reduce with an initial 0 sums the array, working even when empty.
Run your code to see results.