function we(){
this.name="name";
}
we.prototype.age=123;//给we添加一个属性值
var w=new we();
console.log(w.age);