Example 1 — Official: Objects vs ===
Same shape, different references — deep equal wins.
var object = { a: 1 };
var other = { a: 1 };
_.isEqual(object, other);
// → true
object === other;
// → false How It Works
- Two objects are created separately.
- === checks reference →
false. - isEqual compares own key
a→ both1. - Result. Deep match →
true.

