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
diff options
context:
space:
mode:
authorhemanth.hm <hemanth.hm@gmail.com>2021-07-08 21:33:54 +0300
committerGuy Bedford <guybedford@gmail.com>2021-07-17 01:14:26 +0300
commit14b26e07bd90c30bd6a7df0f3cefd35698e24c8d (patch)
tree37967accc40ee9d9ae4389636d0762f5a2354928 /src/node_options.h
parent7dbc0f74d011739db0165b81cc2ac78b36c3d100 (diff)
repl: enable --experimental-repl-await /w opt-out
Unflags top-level await for the REPL by enabling --experimental-repl-await by default. Opt-out is supported via --no-experimental-repl-await. PR-URL: https://github.com/nodejs/node/pull/34733 Reviewed-By: Guy Bedford <guybedford@gmail.com>
Diffstat (limited to 'src/node_options.h')
-rw-r--r--src/node_options.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/node_options.h b/src/node_options.h
index d737c4f55ae..a751d787d7f 100644
--- a/src/node_options.h
+++ b/src/node_options.h
@@ -112,7 +112,7 @@ class EnvironmentOptions : public Options {
std::string experimental_policy;
std::string experimental_policy_integrity;
bool has_policy_integrity_string;
- bool experimental_repl_await = false;
+ bool experimental_repl_await = true;
bool experimental_vm_modules = false;
bool expose_internals = false;
bool frozen_intrinsics = false;