How does merge work?
marek-sed opened this issue · 1 comments
marek-sed commented
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?
rtfeldman commented
It's because merge
creates a new object. They may have the same contents, but they won't be reference equal (===
) 🙂