Merge pull request #10017 from erik-krogh/forAwait

JS: support top-level for await statements
This commit is contained in:
Erik Krogh Kristensen
2022-08-15 11:58:56 +02:00
committed by GitHub
5 changed files with 469 additions and 2 deletions

View File

@@ -0,0 +1,4 @@
---
category: fix
---
* Fixed that top-level `for await` statements would produce a syntax error. These statements are now parsed correctly.