function Person() {}
Person.prototype = {
nickName:"john",
age:,
showInfo:function() {
return ("我的名字是"+this.nickName+",我现在的年龄:"+this.age);
}
};
function Person() {}
Person.prototype = {
nickName:"john",
age:,
showInfo:function() {
return ("我的名字是"+this.nickName+",我现在的年龄:"+this.age);
}
};