function Person(){}
var friend=new Person();
console.log(Person.prototype);
Person.prototype={
constructor:Person,
name:"ytf",
age:"20",
job:"student",
sayName:function(){
console.log(this.name);
}
}
console.log(Person.prototype);
console.log(friend.sayName());