Skip to content

Conversation

@tlively
Copy link
Member

@tlively tlively commented Apr 22, 2022

These uses had unintentionally slipped in. We have meant to avoid for..of loops
so far because very old browsers do not support them.

These uses had unintentionally slipped in. We have meant to avoid for..of loops
so far because very old browsers do not support them.
@tlively tlively requested a review from sbc100 April 22, 2022 01:34
@curiousdannii
Copy link
Contributor

curiousdannii commented Apr 22, 2022

Emscripten's output has been ES6+ since #11984/#15763.

@sbc100
Copy link
Collaborator

sbc100 commented Apr 22, 2022

Sadly we still don't allow a lot ES6 constructs because I've not figured out how to include the closure polyfill code on older browser. I hope we can get there one day but we are not there yet.

@sbc100 sbc100 enabled auto-merge (squash) April 22, 2022 02:09
@sbc100 sbc100 merged commit c8eca7d into main Apr 22, 2022
@sbc100 sbc100 deleted the no-for-of branch April 22, 2022 03:28
tlively added a commit that referenced this pull request Apr 27, 2022
These uses had unintentionally slipped in. We have meant to avoid for..of loops
so far because very old browsers do not support them.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants