AniUI Academy
medium+250 XPOpens Monday

Compare two objects properly

Reference equality is the source of frequent bugs. Implement a recursive deep comparison.

What it has to do

  • Handle nested objects and arrays to any depth.
  • Treat arrays and objects as different types.
  • Treat NaN as equal to itself.

Your workspace

Try it yourself
Loading playground...

This one opens Monday

Come back when it goes live to earn the full 250 XP.

AI Crack & Solution Assist

Stuck? Get instant AI hints or break down the optimal solution.

Stuck? The javascript course covers everything this challenge needs.