Array.prototype.sum = function (...arguments){ return this.reduce(arguments); }; [1,2,3].sum((a,b)=>a+b);