-
-
Notifications
You must be signed in to change notification settings - Fork 5.7k
Closed
Labels
i: out of scopeFeature requests which don't fit the scope of @babeljs, e.g. ideas for new third-party pluginsFeature requests which don't fit the scope of @babeljs, e.g. ideas for new third-party pluginsoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue
Description
Bug Report
Current Behavior
Ok, this is a rather complicated issue.
When I try to do for example document.body instanceof EventTarget
, it doesn't work in IE.
Environment
- Babel version(s): 7.2.0
- How you are using Babel: In the browser (Chrome)
Possible Solution
Replace it with something IE knows (like typeof(document.body.addEventListener) === 'undefined'
)
Metadata
Metadata
Assignees
Labels
i: out of scopeFeature requests which don't fit the scope of @babeljs, e.g. ideas for new third-party pluginsFeature requests which don't fit the scope of @babeljs, e.g. ideas for new third-party pluginsoutdatedA closed issue/PR that is archived due to age. Recommended to make a new issueA closed issue/PR that is archived due to age. Recommended to make a new issue