var num = 20;var obj = { num :30, fn:(function (num) { this.num *=3; num+=15; var num = 45; return function () { this.num*=4; num+=20; console.log(num); } })(num)};obj.fn();fn执行的之后,这里面的this把我搞晕了?求大神解释一下。好像如果变成var fn = obj.fn;fn();这样,this又会变
添加回答
举报
0/150
提交
取消