Prototype & Prototypal Inheritance

How does the greet method become available to the john instance?
function Person(name) {
  this.name = name;
}

Person.prototype.greet = function() {
  return `Hello, I'm ${this.name}`;
};

const john = new Person('John');
Next Question (2/22)