I'm pretty sure I figured this out before, but can't remember why this resolves to false. Can someone explain why?
if ({foo: 'bar'} === {foo: 'bar'}) {
console.log("Strictly Equal");
} else {
console.log("Not Equal");
}
I also tried == but it still has the two object literals as not equal.
Thanks