function A() {
this.money = 100;
}
function B() {
this.name = 'tiny'
}
B.prototype = new A();
var b = new B();
console.log(b.money);
function A() {
this.money = 100;
}
function B() {
this.name = 'tiny'
}
B.prototype = new A();
var b = new B();
console.log(b.money);