SOURCE

Number.prototype.add = function(num){
    return this + num
}
Number.prototype.minus = function(num){
    return this-num
}
console.log((5).add(3).minus(2))
console 命令行工具 X clear

                    
>
console