该方法返回 obj 对象的原型对象,等同于 obj.__proto__
function Person(){ this.name = ‘jack‘}let man = new Person();console.log(Object.getPrototypeOf(man) === Person.prototype); //trueconsole.log(Object.getPrototypeOf(man) === man.__proto__); //true