=> 实现 (3).plus(2).minus(1) =>4
Number.prototype.plus = function plus(){ var value = Number(arguments[0]) || 0; return this + value; }; Number.prototype.minus = function minus(){ var value = Number(arguments[0]) || 0; return this - value; }; console.log((3).plus(2).minus(1));