You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I think most of the advice still holds - generators are best avoided, and generators are transpiled the same as they were 7+ years ago.
I agree using iterators is becoming more reasonable, especially with iterator helpers shipping soon, so that section may be revisited in the medium term.
So is there any intention to revisit the standing on Iterators and Generators? I'm mostly instrested specifically in revisiting the advice given in 11.2 Don’t use generators for now.
Reason for asking
Examples where methods on the objects return an iterator and not an array:
- Map.entries()
- Set.entries()
The text was updated successfully, but these errors were encountered: