exercises/290-sort-arrays.js
// adds the sums of each array in the array and outputs it in a new array.
adds the sums of each array in the array and outputs it in a new array.
adds the sums of each array in the array and outputs it in a new array .
function addedArray(numArray){
    let arraySum = 0;
    for (let i = 0; i < numArray.length; i++) {
        arraySum += numArray[i] ;
    }
    return arraySum;
}
function addedArray ( numArray ) { let arraySum = 0 ; for ( let i = 0 ; i < numArray . length ; i ++ ) { arraySum += numArray [ i ] ; } return arraySum ; }
adds the sums of each array in the array and outputs it in a new array.
adds the sums of each array in the array and outputs it in a new array .