0条评论
还没有人评论过~
function a (name,age){
this.name=name;
this.age=age;
this.say=function(){
console.log(age);
};
}
function b(){
this.eat=function(){
a.call(b);
}
}
var bb=new b();
bb.eat();
肯定不打印啦,this.say压根没执行过