Merge pull request #2430 from joaquinelio/patch-1

"exception" vs "new feature" ?
This commit is contained in:
Ilya Kantor 2021-01-16 10:28:00 +03:00 committed by GitHub
commit 3a0b3f4e31
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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\""