Hint
Object equality compares references, not content. Two objects with identical properties are NOT equal unless same reference.
const a = { x: 1 };
const b = { x: 1 };
const c = a;
console.log(a == b);
console.log(a === b);
console.log(a === c);
console.log(a.x === c.x);false false true true
Explanation: a and b are different objects — same content but different references. c = a copies the reference, so a===c is true.
Key Insight: Object equality compares references, not content. Two objects with identical properties are NOT equal unless same reference.