Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/nodejs/node.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/doc
diff options
context:
space:
mode:
authorAntoine du Hamel <duhamelantoine1995@gmail.com>2022-04-28 20:54:29 +0300
committerGitHub <noreply@github.com>2022-04-28 20:54:29 +0300
commit517fe9584aa85b5cba1f90eff103d30c4b2a5113 (patch)
tree313a11ae381c8335276ca23ac55554fd8c9fe3dc /doc
parent17826f54c08c4cc80225d59d4ed37e6fd91e4759 (diff)
esm: graduate top-level-await to stable
Removes the experimental label in the docs and makes the `--experimental-top-level-await` flag a no-op. V8 has removed the harmony flag in V8 9.1 and consider the feature stable, there's no reason to keep it experimental in Node.js. PR-URL: https://github.com/nodejs/node/pull/42875 Reviewed-By: Jacob Smith <jacob@frende.me> Reviewed-By: Michaël Zasso <targos@protonmail.com> Reviewed-By: Benjamin Gruenbaum <benjamingr@gmail.com> Reviewed-By: Mohammed Keyvanzadeh <mohammadkeyvanzade94@gmail.com> Reviewed-By: Mestery <mestery@protonmail.com> Reviewed-By: Geoffrey Booth <webadmin@geoffreybooth.com> Reviewed-By: Darshan Sen <raisinten@gmail.com> Reviewed-By: Tobias Nießen <tniessen@tnie.de>
Diffstat (limited to 'doc')
-rw-r--r--doc/api/esm.md2
1 files changed, 0 insertions, 2 deletions
diff --git a/doc/api/esm.md b/doc/api/esm.md
index 7e423634183..3d09cc03bba 100644
--- a/doc/api/esm.md
+++ b/doc/api/esm.md
@@ -566,8 +566,6 @@ would provide the exports interface for the instantiation of `module.wasm`.
added: v14.8.0
-->
-> Stability: 1 - Experimental
-
The `await` keyword may be used in the top level body of an ECMAScript module.
Assuming an `a.mjs` with