"exception" vs "new feature" ?
This commit is contained in:
parent
eb3b360dc3
commit
a27b7e2310
1 changed files with 1 additions and 1 deletions
|
@ -140,7 +140,7 @@ 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).
|
P.S. New feature: starting from V8 engine version 8.9+, top-level await works in [modules](info:modules).
|
||||||
````
|
````
|
||||||
|
|
||||||
````smart header="`await` accepts \"thenables\""
|
````smart header="`await` accepts \"thenables\""
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue