2016-02-26 39 views

回答

7

在構造函數中,你可以通過關鍵字this訪問對象的方法:

var Test=function(){ 
    this.hello(); 
} 
相關問題