This repository was archived by the owner on Jan 26, 2022. It is now read-only.
This repository was archived by the owner on Jan 26, 2022. It is now read-only.
Don't fallback to Symbol.iterator in async iteration statement #12
Closed
Description
Looking over this again, the behavior where we fallback to using Symbol.iterator
if the iteration subject does not have Symbol.asyncIterator
feels hacky.
I think it should only look for Symbol.asyncIterator
. If we want to, we can add async iteration support to regular iterators by adding a method to `%IteratorPrototype%.
Metadata
Metadata
Assignees
Labels
No labels