阅读背景:

为什么没有“this”就无法访问全局“this.function”?

来源:互联网 
this.func0 = function() {
   console.log('hi')
}
this.func0() // this works
func0() // but not this?
this.func0 = function() {
   console.log('hi')



你的当前访问异常,请进行认证后继续阅读剩余内容。

分享到: