var total = numbers.reduce(function(total, current) { return total + current; }, 0); console.log(total);