var length = 10;function fn() { console.log(this.length);}var obj = { length: 5, method: function() { fn(); arguments[0](); }};obj.method(fn, 1);結果:10 2 為神馬??
幫忙解析下一段js代碼,,
九州編程
2018-09-04 13:13:26