古格日。
var obj = new Foo("start");
Foo = function(some){
this.first = function(){
alert("First");
$(".clazz").click($.proxy(this.second,this));
};
this.second = function(){
$(".clazz").append("<span>Second</span>");
//this.out() // Problemb with called a method "this.out()"
};
this.out = function(){
$(".clazz").append("<a>Out</a>");
// Code
};
this.constructor = function(some){
this.first();
};
this.constructor(some);
};
如何从方法“this.second”调用方法“this.out”?