# 题目

# 考查arguments和this指向

var length = 10;
function fn() {
    console.log(this.length)
}
var obj = {
    length: 5,
    getF: function (fn) {
    console.log(this.length)
    fn();
    arguments[0]();
    }
}
obj.getF(fn);
// 10 5 1
1
2
3
4
5
6
7
8
9
10
11
12
13
14
上次更新时间: 9/12/2021, 10:30:35 PM