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