diff --git a/doc/api/cli.md b/doc/api/cli.md index 7c06056fad4..97edf0f4b21 100644 --- a/doc/api/cli.md +++ b/doc/api/cli.md @@ -74,6 +74,14 @@ added: v8.5.0 Enable experimental ES module support and caching modules. +### `--experimental-repl-await` + + +Enable experimental top-level `await` keyword support in REPL. + + ### `--experimental-vm-modules` @@ -612,6 +612,7 @@ a `net.Server` and `net.Socket` instance, see: https://gist.github.com/2209310 For an example of running a REPL instance over [curl(1)][], see: https://gist.github.com/2053342 +[`--experimental-repl-await`]: cli.html#cli_experimental_repl_await [`readline.InterfaceCompleter`]: readline.html#readline_use_of_the_completer_function [`readline.Interface`]: readline.html#readline_class_interface [`util.inspect()`]: util.html#util_util_inspect_object_options diff --git a/doc/node.1 b/doc/node.1 index 710487cb864..24d8260b876 100644 --- a/doc/node.1 +++ b/doc/node.1 @@ -83,6 +83,11 @@ Requires Node.js to be built with .It Fl \-experimental-modules Enable experimental ES module support and caching modules. . +.It Fl \-experimental-repl-await +Enable experimental top-level +.Sy await +keyword support in REPL. +. .It Fl \-experimental-vm-modules Enable experimental ES module support in VM module. .