cetais in the scope of the constructor function alpha, but does not belong to the objects that are being built. It can be used or closed and returned from the function this.beta. For instance:
function alpha(){
this.a = 10;
this.b = 20;
this.beta = function(){
ceta();
this.c = 30;
alert(this.c);
return ceta;
}
var ceta = function(){
alert ("hi!");
}
}
var obj = new alpha(),
ceta = obj.beta();
. ceta , .
ceta alpha, alpha.