{"action":"opened","issue":{"url":"https://api.github.com/repos/facebook/immutable-js/issues/350","labels_url":"https://api.github.com/repos/facebook/immutable-js/issues/350/labels{/name}","comments_url":"https://api.github.com/repos/facebook/immutable-js/issues/350/comments","events_url":"https://api.github.com/repos/facebook/immutable-js/issues/350/events","html_url":"https://github.com/facebook/immutable-js/issues/350","id":59188855,"number":350,"title":"Map.merge does not return this? withMutations","user":{"login":"mailaneel","id":129355,"avatar_url":"https://avatars.githubusercontent.com/u/129355?v=3","gravatar_id":"","url":"https://api.github.com/users/mailaneel","html_url":"https://github.com/mailaneel","followers_url":"https://api.github.com/users/mailaneel/followers","following_url":"https://api.github.com/users/mailaneel/following{/other_user}","gists_url":"https://api.github.com/users/mailaneel/gists{/gist_id}","starred_url":"https://api.github.com/users/mailaneel/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mailaneel/subscriptions","organizations_url":"https://api.github.com/users/mailaneel/orgs","repos_url":"https://api.github.com/users/mailaneel/repos","events_url":"https://api.github.com/users/mailaneel/events{/privacy}","received_events_url":"https://api.github.com/users/mailaneel/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-02-27T04:42:57Z","updated_at":"2015-02-27T04:42:57Z","closed_at":null,"body":"\r\nThis does not work\r\n\r\n```javascript\r\nvar a,b,\r\na = new Immutable.Map();\r\nb = a.withMutations(function(_a){\r\n   \r\n// below code does not return this \r\n _a.merge({x: 1});\r\n});\r\n\r\nconsole.log(b.get('x')); // undefined\r\n```\r\n\r\nbelow code works fine\r\n\r\n```javascript\r\nvar a,b,\r\na = new Immutable.Map({x:1});\r\nb = a.withMutations(function(_a){   \r\n _a.merge({y: 1});\r\n});\r\n\r\nconsole.log(b.toJSON()); // {x:1, y:1}\r\n```\r\n\r\n\r\n"}}