{"action":"closed","issue":{"url":"https://api.github.com/repos/facebook/immutable-js/issues/311","labels_url":"https://api.github.com/repos/facebook/immutable-js/issues/311/labels{/name}","comments_url":"https://api.github.com/repos/facebook/immutable-js/issues/311/comments","events_url":"https://api.github.com/repos/facebook/immutable-js/issues/311/events","html_url":"https://github.com/facebook/immutable-js/issues/311","id":56319538,"number":311,"title":"Strict equality between maps","user":{"login":"mczepiel","id":2964,"avatar_url":"https://avatars.githubusercontent.com/u/2964?v=3","gravatar_id":"","url":"https://api.github.com/users/mczepiel","html_url":"https://github.com/mczepiel","followers_url":"https://api.github.com/users/mczepiel/followers","following_url":"https://api.github.com/users/mczepiel/following{/other_user}","gists_url":"https://api.github.com/users/mczepiel/gists{/gist_id}","starred_url":"https://api.github.com/users/mczepiel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mczepiel/subscriptions","organizations_url":"https://api.github.com/users/mczepiel/orgs","repos_url":"https://api.github.com/users/mczepiel/repos","events_url":"https://api.github.com/users/mczepiel/events{/privacy}","received_events_url":"https://api.github.com/users/mczepiel/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-02-03T01:14:30Z","updated_at":"2015-02-03T01:17:31Z","closed_at":"2015-02-03T01:17:31Z","body":"Is this expected behavior?\r\n```javascript\r\nvar a = Immutable.Map();\r\nvar b = a.clear()\r\na === b // true\r\n```\r\n\r\nI was not expecting this in a similar situation: ``Immutable.Map() === Immutable.Map()``` and certainly not in the `clear` situation (or any other persistent api call) since the api does indicate the behavior I'd expect: \"Returns a new Map containing no keys or values.\"\r\n\r\nThough I see there's some special case for `emptyMap()`\r\n"}}