rtfeldman/seamless-immutable

How does merge work?

marek-sed opened this issue · 1 comments

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 (===) 🙂