The front end This and the arguments January 7, 2024 by Ashley Weaver No Comments var length = 10; function fn() { console.log(this.length); } var obj = { method: function(fn) { fn(); arguments[0](); }}; obj.method(fn, 1);Copy the code