var arr = [1, 2, 3, 4, 5]
var arr_reduce = arr.reduce(function(previousValue, currentValue, currentIndex, array) {
return previousValue + currentValue;
}, 100);
// 100 initial value to sum (100 + 1 + 2 + 3 + 4 + 5)
console.log(arr_reduce);
/*
run:
115
*/