{"action":"created","issue":{"url":"https://api.github.com/repos/zloirock/core-js/issues/73","labels_url":"https://api.github.com/repos/zloirock/core-js/issues/73/labels{/name}","comments_url":"https://api.github.com/repos/zloirock/core-js/issues/73/comments","events_url":"https://api.github.com/repos/zloirock/core-js/issues/73/events","html_url":"https://github.com/zloirock/core-js/issues/73","id":82583769,"number":73,"title":"Map and Set aren't iterable when native Map and Set aren't present","user":{"login":"AgentME","id":577345,"avatar_url":"https://avatars.githubusercontent.com/u/577345?v=3","gravatar_id":"","url":"https://api.github.com/users/AgentME","html_url":"https://github.com/AgentME","followers_url":"https://api.github.com/users/AgentME/followers","following_url":"https://api.github.com/users/AgentME/following{/other_user}","gists_url":"https://api.github.com/users/AgentME/gists{/gist_id}","starred_url":"https://api.github.com/users/AgentME/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AgentME/subscriptions","organizations_url":"https://api.github.com/users/AgentME/orgs","repos_url":"https://api.github.com/users/AgentME/repos","events_url":"https://api.github.com/users/AgentME/events{/privacy}","received_events_url":"https://api.github.com/users/AgentME/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/zloirock/core-js/labels/question","name":"question","color":"cc317c"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2015-05-29T20:54:22Z","updated_at":"2015-06-09T03:11:21Z","closed_at":"2015-05-29T21:23:05Z","body":"```\r\n$ node\r\n> var CSymbol = require('core-js/library/fn/symbol');\r\nundefined\r\n> var CMap = require('core-js/library/fn/map');\r\nundefined\r\n> var m = new CMap();\r\nundefined\r\n> m[CSymbol.iterator];\r\nundefined\r\n> m.values()[CSymbol.iterator];\r\n[Function]\r\n```\r\n\r\nThe situation that this is presenting a problem to me is that we're using [safari-fix-map](https://www.npmjs.com/package/safari-fix-map) which deletes Safari's native Map and Set objects and replaces them with core-js's versions (We've had ridiculous issues with native Maps in Safari where they're not consistent in some situations), and then we have (babel-transpiled with \"runtime\" transformation) code which creates some sets, tries to for-of loop over them, and fails because the Symbol.iterator property is missing from the sets. Using a for-of loop over the return value of certain methods like `values` works though."},"comment":{"url":"https://api.github.com/repos/zloirock/core-js/issues/comments/110209303","html_url":"https://github.com/zloirock/core-js/issues/73#issuecomment-110209303","issue_url":"https://api.github.com/repos/zloirock/core-js/issues/73","id":110209303,"user":{"login":"zloirock","id":2213682,"avatar_url":"https://avatars.githubusercontent.com/u/2213682?v=3","gravatar_id":"","url":"https://api.github.com/users/zloirock","html_url":"https://github.com/zloirock","followers_url":"https://api.github.com/users/zloirock/followers","following_url":"https://api.github.com/users/zloirock/following{/other_user}","gists_url":"https://api.github.com/users/zloirock/gists{/gist_id}","starred_url":"https://api.github.com/users/zloirock/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zloirock/subscriptions","organizations_url":"https://api.github.com/users/zloirock/orgs","repos_url":"https://api.github.com/users/zloirock/repos","events_url":"https://api.github.com/users/zloirock/events{/privacy}","received_events_url":"https://api.github.com/users/zloirock/received_events","type":"User","site_admin":false},"created_at":"2015-06-09T03:11:21Z","updated_at":"2015-06-09T03:11:21Z","body":"Should be fixed in [`0.9.15`](https://github.com/zloirock/core-js/releases/tag/v0.9.15)."}}