HF RL Explorer

Task: Implement JavaScript deepEqual Comparison Function

Task: Implement JavaScript deepEqual Comparison Function: a task in Terminal-Lego-15k (Harbor dataset). Implement a deepEqual function in JavaScript that takes two values and returns true only if: 1. They are the same value (strict equality), OR 2. They are both objects with the same properties…

The task

Implement a `deepEqual` function in JavaScript that takes two values and returns `true` only if: 1. They are the same value (strict equality), OR 2. They are both objects with the same properties whose values are also equal when compared with a recursive call to `deepEqual`

Part of PrimeIntellect/Terminal-Lego-15k.