function A() {
this.name = "a";
}
function B() {
var k,value;
for( k in this){
value = this[k];
if(typeof value == 'string'){
this[k]=value;
}
}
this.age = 30;
}
B.prototype = new A();
var $b1 = new B();
var $b2 = new B();
this.name = "a";
}
function B() {
var k,value;
for( k in this){
value = this[k];
if(typeof value == 'string'){
this[k]=value;
}
}
this.age = 30;
}
B.prototype = new A();
var $b1 = new B();
var $b2 = new B();
解决方案 »
免费领取超大流量手机卡,每月29元包185G流量+100分钟通话, 中国电信官方发货