标签: 手撕call
thumbnail

手撕call、bind、apply

返回值: call/apply:fun执行的结果 bind:返回fun的拷贝,并拥有指定的this值和初始参数 参数 thisArg(可选): 若thisArg存在,fun的this指……