SOURCE

function persion(){
    console.log(this.name)
}
var egg = {name: '1234'}
// persion()

// persion.call(egg)

Function.prototype.newCall = function(obj) {
    console.log(this)  // 调用方法persion
    console.log(arguments, 'argu')  // 调用方法persion
    const tempArr = []
    for(let i=1;i<arguments.length;i++){
        tempArr.push(arguments[i])
    }
    console.log(tempArr, 'temo')
    obj.p=this
    obj.p()
    delete obj.p
}
persion.newCall(egg, 'qq', '123')
console 命令行工具 X clear

                    
>
console