closes #2401
This commit is contained in:
parent
fc3f811c03
commit
13da056653
1 changed files with 2 additions and 0 deletions
|
@ -139,6 +139,8 @@ But we can wrap it into an anonymous async function, like this:
|
|||
...
|
||||
})();
|
||||
```
|
||||
|
||||
P.S. The notable exception is V8 engine version 8.9+, where top-level await works in [modules](info:modules).
|
||||
````
|
||||
|
||||
````smart header="`await` accepts \"thenables\""
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue