资讯

person1.sayHi(); // prints out Hello, my name is Bob, and I am 38 person2.sayHi(); Take notice of how prototype inheritance makes a performance boost as well because both objects contain a reference ...