var length = 88;
function test() {
console.log(this.length)
}
var obj = {
length: 99,
action: function(test) {
test();
arguments[0]();
}
}
obj.action(test, [1, 2, 3]);
解析过程:
![](https://img.haomeiwen.com/i1953174/b2b1f8a8283ab6dc.png)
网友评论