Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: Replace IteratorStep with NextMethod (#44)
Fixes #33. Prevents an infinite loop caused by IteratorStep(iteratorRecord) not actually flagging termination when IteratorRecord is async. Instead, we will directly call iteratorStep.[[NextMethod]], like how `for await` does. Co-authored-by: Kevin Gibbons <[email protected]>
- Loading branch information