{"action":"created","issue":{"url":"https://api.github.com/repos/babel/babel/issues/6511","repository_url":"https://api.github.com/repos/babel/babel","labels_url":"https://api.github.com/repos/babel/babel/issues/6511/labels{/name}","comments_url":"https://api.github.com/repos/babel/babel/issues/6511/comments","events_url":"https://api.github.com/repos/babel/babel/issues/6511/events","html_url":"https://github.com/babel/babel/issues/6511","id":266814891,"number":6511,"title":"IE11:`SCRIPT438:Object doesn't support property or method 'forEach'`","user":{"login":"hezhongfeng","id":12163050,"avatar_url":"https://avatars2.githubusercontent.com/u/12163050?v=4","gravatar_id":"","url":"https://api.github.com/users/hezhongfeng","html_url":"https://github.com/hezhongfeng","followers_url":"https://api.github.com/users/hezhongfeng/followers","following_url":"https://api.github.com/users/hezhongfeng/following{/other_user}","gists_url":"https://api.github.com/users/hezhongfeng/gists{/gist_id}","starred_url":"https://api.github.com/users/hezhongfeng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hezhongfeng/subscriptions","organizations_url":"https://api.github.com/users/hezhongfeng/orgs","repos_url":"https://api.github.com/users/hezhongfeng/repos","events_url":"https://api.github.com/users/hezhongfeng/events{/privacy}","received_events_url":"https://api.github.com/users/hezhongfeng/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2017-10-19T11:50:32Z","updated_at":"2017-10-19T11:50:33Z","closed_at":null,"author_association":"NONE","body":"\r\n### Input Code\r\n\r\n```js\r\n      let topicsDoc = document.querySelectorAll(\".topic\");\r\n      let topicList = \"\";\r\n      topicsDoc.forEach(function(element) {\r\n        topicList += element.innerText;\r\n        console.log(element.innerText);\r\n      });\r\n```\r\n\r\n### Babel Configuration (.babelrc, package.json, cli command)\r\n<!--- If describing a bug, tell us what your babel configuration looks like -->\r\n\r\n```js\r\n{\r\n  \"presets\": [\r\n    [\"env\", {\r\n      \"modules\": false,\r\n      \"targets\": {\r\n        \"browsers\": [\"> 1%\", \"last 2 versions\", \"ie >= 11\"]\r\n      }\r\n    }],\r\n    \"stage-2\"\r\n  ],\r\n  \"plugins\": [\"transform-runtime\"],\r\n  \"env\": {\r\n    \"test\": {\r\n      \"presets\": [\"env\", \"stage-2\"],\r\n      \"plugins\": [\"istanbul\"]\r\n    }\r\n  }\r\n}\r\n\r\n```\r\n\r\n### Expected Behavior\r\n\r\nconsole some text\r\n### Current Behavior\r\n\r\nIE11 will has en error\r\n`SCRIPT438:Object doesn't support property or method 'forEach'`\r\n\r\n### Possible Solution\r\n\r\n\r\n### Context\r\n\r\n\r\n### Your Environment\r\n\r\n| software         | version(s)\r\n| ---------------- | -------\r\n| Babel            |  6.22.1\r\n| node             | 6.11.0\r\n| npm              |  3.10.10\r\n| Operating System | win10\r\n"},"comment":{"url":"https://api.github.com/repos/babel/babel/issues/comments/337883975","html_url":"https://github.com/babel/babel/issues/6511#issuecomment-337883975","issue_url":"https://api.github.com/repos/babel/babel/issues/6511","id":337883975,"user":{"login":"babel-bot","id":21250019,"avatar_url":"https://avatars1.githubusercontent.com/u/21250019?v=4","gravatar_id":"","url":"https://api.github.com/users/babel-bot","html_url":"https://github.com/babel-bot","followers_url":"https://api.github.com/users/babel-bot/followers","following_url":"https://api.github.com/users/babel-bot/following{/other_user}","gists_url":"https://api.github.com/users/babel-bot/gists{/gist_id}","starred_url":"https://api.github.com/users/babel-bot/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/babel-bot/subscriptions","organizations_url":"https://api.github.com/users/babel-bot/orgs","repos_url":"https://api.github.com/users/babel-bot/repos","events_url":"https://api.github.com/users/babel-bot/events{/privacy}","received_events_url":"https://api.github.com/users/babel-bot/received_events","type":"User","site_admin":false},"created_at":"2017-10-19T11:50:33Z","updated_at":"2017-10-19T11:50:33Z","author_association":"COLLABORATOR","body":"Hey @hezhongfeng! We really appreciate you taking the time to report an issue. The collaborators\non this project attempt to help as many people as possible, but we're a limited number of volunteers,\nso it's possible this won't be addressed swiftly.\n\nIf you need any help, or just have general Babel or JavaScript questions, we have a vibrant Slack\ncommunity that typically always has someone willing to help. You can sign-up [here](https://slack.babeljs.io/)\nfor an invite."}}
{"actor":{"display_login":"babel-bot"}}