tsconst a = { c: 1, d: 2, e: { e1: 10, e2: 20 } }; const b = { c: 1, d: 2, e: { e1: 1, e2: 2 } }; shallowEq(a, b); // true
e
c
d