var myobject ={ foo:"bar", func:function(){ var self = this; console.log("outer func : this.foo=" + this.foo); console.log("outer func : self.foo=" + self.foo); ( function(){ console.log("outer func : this.foo=" +this.foo); console.log("outer func : self.foo=" +self.foo); } )(); } }
qq_青枣工作室_0
相关分类