-
-
Notifications
You must be signed in to change notification settings - Fork 1.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
web.dom-collections.iterator polyfill added on Object iteration #1003
Comments
Yes, this is expected behavior. With statical analysis, we can't determine the type of If the documentation of this is not clear for you - it's not a correct place for it and issues about it, it should be documented on Babel side - you could create an issue about it here https://github.com/babel/website. |
as we are never iterating over DOM collections see zloirock/core-js#1003
as we are never iterating over DOM collections see zloirock/core-js#1003
as we are never iterating over DOM collections see zloirock/core-js#1003
as we are never iterating over DOM collections see zloirock/core-js#1003
as we are never iterating over DOM collections see zloirock/core-js#1003
Hey peeps 😄
Going through the extracted core-js polyfills for some of our code, I noticed that a large portion of
web.dom-collections.iterator
polyfills are being added, without our project depending so much on DOMCollection iterations.Looking a bit more closely I noticed that
for...of
loops are triggering this polyfill.Babel repl reproduction
Is this the expected behaviour ? If yes, the documentation of this polyfill seemed not so clear to me.
Thanks!
The text was updated successfully, but these errors were encountered: