Code Golf · #45 · 2026-05-19
Deep equality check
Difficulty 3/3 · JavaScript
How to play
Write a JavaScript function body that passes all test cases using the fewest characters. Run against examples first, then submit for the full test suite. Eagle < Birdie < Par.
Given [a, b], return true if the two values are deeply equal, false otherwise.
Examples
f([[1,2,3],[1,2,3]]) → true
f([[1,2],[1,3]]) → false
Loading your progress...
Your code (function body — receives input)
function(input) { 0 chars
}
Write the shortest JavaScript function body that passes all tests · Back to hub