Sum All Numbers in an Array
Complete the function
sumArray
so that it returns the sum of all the numbers in the given array using the reduce
method.Premium
JavaScript
Console