0
var MyClass = new Class({
foo:function(){
var = new Fung({
go:function(this){
this.bar();
}
});
},
bar:function(){
alert('hello world');
}
});
내부에서 중첩 클래스의 메서드에 액세스하려고합니다. 이것이 가능한가?자바 스크립트 클래스에서 메서드에 액세스하는 방법?
'클래스'생성자 함수의 정의를 표시해야합니다. – JAAulde