Hint
constructor property is inherited from the class prototype — it's useful for identifying an object's constructor.
class Point {
constructor(x, y) { this.x = x; this.y = y; }
}
const p = new Point(1, 2);
console.log(p.constructor === Point);
console.log(p.constructor === Object);
console.log(p instanceof Point);true false true
Explanation: p.constructor is inherited from Point.prototype and points to Point. It is not Object.
Key Insight: constructor property is inherited from the class prototype — it's useful for identifying an object's constructor.