const newNumbers = [1, 3, 5, 7]; const newSum = newNumbers.reduce((accumulator, currentValue) => { console.log('The value of accumulator: ', accumulator); console.log('The value of currentValue: ', currentValue); return accumulator + currentValue }, 10); // es como: .reduce(A, B) | .reduce(A:(a)=>{}, B) console.log(newSum);