function a(){
this.sex=[1,2,3]
}
a.prototype={
age:[1,2,3],
say:function(){
}
}
var b=new a();
b.age.push(4)
console.log(a.prototype)
console.log(b.age)
var c=new a();
console.log(a.prototype)
console.log(c.age)
function a(){
this.sex=[1,2,3]
}
a.prototype={
age:[1,2,3],
say:function(){
}
}
var b=new a();
b.age.push(4)
console.log(a.prototype)
console.log(b.age)
var c=new a();
console.log(a.prototype)
console.log(c.age)