function addSum(array) { // call the function with your array parameter let solution = 0 for (let x = 0 ; x < array.length;x++) { // for loop solution = solution + array[x] } return solution }