(function() {
functionPerson() {
Person.prototype.name="张三";
Person.prototype.job="程序员";
Person.prototype.sayHi=function() {
console.log(this.name);
};
}
varperson1=newPerson();
varperson2=newPerson();
console.log(person1.sayHi==person2.sayHi);
debugger;
})();