Closed marek-sed closed 7 years ago
I have this jsfiddle https://jsfiddle.net/ejyvpbwx/12/
I merge map1 with same values that are already in map1.
why is the result false, is it a bug?
It's because merge creates a new object. They may have the same contents, but they won't be reference equal (===) 🙂
merge
===
I have this jsfiddle https://jsfiddle.net/ejyvpbwx/12/
I merge map1 with same values that are already in map1.
why is the result false, is it a bug?