var Test ={ foo:"test", func:function () { var self=this; console.log(this.foo); console.log(self.foo); (function () { console.log(this.foo); console.log(self.foo); })(); }};Test.func();输出 test test undefined test
添加回答
举报
0/150
提交
取消