JavaScript Interview Questions: deepEqual function
Jul 14, 2022
Problem Statment
Build a custom deepEqual
function to compare if two Objects are equal (deeply)
Input can be any valid JavaScript Object or literal type. But the keys will not have a function
as value.
deepEqual(param1:any, param2:any): boolean
Solution:
Test Cases
Thank You 👋