i am working with js right now.
i have two objects left
and right
.
if i check console.log(left !== right)
i get true
.
now if i check console.log(typeof(left) !== typeof(right))
i get false
.
now if i check console.log(left != right)
i get true
.
if i check both objects in https://www.jsondiff.com/
it says both objects are identical.
how is this possible? i am so confused. can someone help on what could be the possible reason this is happening?
sorry i cannot share exact objects.