Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- > x = Immutable.Map({a: 1, b: 2})
- Map { "a": 1, "b": 2 }
- > y = Immutable.Map({a: 1, b: 2})
- Map { "a": 1, "b": 2 }
- > x === y
- false
- > Immutable.is(x, y)
- true
- > x.equals(y)
- true
- > y.equals(x)
- true
- > x.merge(y)
- Map { "a": 1, "b": 2 }
- > x.merge(y) === x
- true
- > x.merge(y) === y
- false
- > y.merge(x) === y
- true
- > y.merge(x) === x
- false
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement