let nums = [1, 2, 3]; nums.reduce((curr, next) => curr + next);
arrSum = function(arr){ return arr.reduce(function(a,b){ return a + b }, 0);}