日期:2014-05-16 浏览次数:20591 次
function a(){
this.show=function(){
alert("a");
}
}
function b(){
this.myA=a;
delete this.myA;
}
function ok(){
var myB= new b();
myB.show();
}
function a(){
this.show=function(){
alert("a");
}
}
function b(){
a.call(this)
}
function ok(){
var myB= new b();
myB.show();
}