阅读背景:

在javascript中,如何从同一个类中的另一个方法调用类方法?

来源:互联网 

I have this:

我有这个:

var Test = new function() {  
    this.init = new function() {  
        alert("hello");  
    }
    this.run = new function() {  
        // call init here  
    }  
}
var Test = new function(



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

分享到: