Coding Challenge: Arrays Sum
Let's practice how to input arrays and return the sum of all the numbers of the sub-arrays.
We'll cover the following
Problem statement
Complete the following program to compute and return the total sum of the sub-arrays within the array.
Input
const arrays = [[1, 4], [11], [3, 5, 7]];
Expected output
31
Coding exercise
Get hands-on with 1400+ tech skills courses.