-
Notifications
You must be signed in to change notification settings - Fork 12.6k
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
for-of does not work with DOM collections when target is ES3 or ES5 #2696
Labels
By Design
Deprecated - use "Working as Intended" or "Design Limitation" instead
Comments
We did not want to complicate the array emit case, and did not want to do any type-directed emit. So for of only works on arrays for ES3/ES5. |
mhegazy
added
the
By Design
Deprecated - use "Working as Intended" or "Design Limitation" instead
label
Apr 9, 2015
Yep, makes sense. Thanks. |
With |
Update on this issue, this should be addressed by #12346 under |
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Is it because the standard emit will have the wrong behavior for live lists that are modified during iteration? A
[].slice.call()
in the emit would fix that, but perhaps that detracts from wanting to keep the output as close to the original as possible...The text was updated successfully, but these errors were encountered: