Instruction: Describe shallow and deep equality and how they can be checked in JavaScript.
Context: This question tests the candidate's understanding of equality checks and how they differ when comparing objects and primitives.
hard