index.js
function Person() {}
Person.prototype.sayHello = function () {};
console.log(Object.getPrototypeOf(new Person())); // {sayHello: ƒ, constructor: ƒ}
index.js
function Person() {}
Person.prototype.sayHello = function () {};
console.log(Object.getPrototypeOf(new Person())); // {sayHello: ƒ, constructor: ƒ}