mirror of
https://github.com/nodejs/node.git
synced 2026-11-25 23:01:06 -05:00
doc: mention --experimental-top-level-await flag
PR-URL: https://github.com/nodejs/node/pull/33473 Reviewed-By: Gus Caplan <me@gus.host> Reviewed-By: Ruben Bridgewater <ruben@bridgewater.de> Reviewed-By: Colin Ihrig <cjihrig@gmail.com> Reviewed-By: James M Snell <jasnell@gmail.com>
This commit is contained in:
1 parent
70e166ff77
commit
94de4acadd
2 files changed
+12
-1
No files matched your search
@@ -226,6 +226,16 @@ the ability to import a directory that has an index file.
|
||||
|
||||
Please see [customizing ESM specifier resolution][] for example usage.
|
||||
|
||||
### `--experimental-top-level-await`
|
||||
<!-- YAML
|
||||
added: v14.3.0
|
||||
-->
|
||||
|
||||
Enable experimental top-level `await` keyword support, available only in ES
|
||||
module scripts.
|
||||
|
||||
(See also `--experimental-repl-await`.)
|
||||
|
||||
### `--experimental-vm-modules`
|
||||
<!-- YAML
|
||||
added: v9.6.0
|
||||
|
||||
Reference in new issue
Block a user