Question 95 of 10095%
95

The greet method is added to Person.prototype only AFTER alice has already been created. What does alice.greet() log?

function Person(name) {
  this.name = name;
}

const alice = new Person('Alice');

Person.prototype.greet = function () {
  return `Hi, ${this.name}`;
};

console.log(alice.greet());
95/100