medium+250 XPOpens Monday
Compare two objects properly
Reference equality is the source of a surprising number of bugs. This challenge is about understanding exactly what JavaScript compares, then writing the version you wanted.
What it has to do
- Handle nested objects and arrays to any depth.
- Treat arrays and objects as different types.
- Get
NaNright — it should equal itself here.
Your workspace
Try it yourself· Edit the code, then press Run
Loading playground...
This one opens Monday
Come back when it goes live to earn the full 250 XP.
Stuck? The javascript course covers everything this challenge needs.