diff options
author | David Sherret <dsherret@users.noreply.github.com> | 2023-12-06 09:22:30 -0500 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-12-06 09:22:30 -0500 |
commit | 1ac370632fdac5b7bbab3a24045692d6b74551dd (patch) | |
tree | 18dd9c83e83d98b4639af1432d95d2c33940f636 /runtime/js/99_main.js | |
parent | 8c0fb9003d874fcbee0b1a6f6ee30dfb58c668bc (diff) |
fix: display unstable flags at bottom of help text (#21468)
Moves the unstable flags to be at the bottom of the help text. They were
previously all over the place for some reason.
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r-- | runtime/js/99_main.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 67667427f..6e43da085 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -567,7 +567,7 @@ function bootstrapMainRuntime(runtimeOptions) { } } - if (!ArrayPrototypeIncludes(unstableFeatures, /* unsafe-proto */ 9)) { + if (!ArrayPrototypeIncludes(unstableFeatures, /* unsafe-proto */ 8)) { // Removes the `__proto__` for security reasons. // https://tc39.es/ecma262/#sec-get-object.prototype.__proto__ delete Object.prototype.__proto__; @@ -672,7 +672,7 @@ function bootstrapWorkerRuntime( } } - if (!ArrayPrototypeIncludes(unstableFeatures, /* unsafe-proto */ 9)) { + if (!ArrayPrototypeIncludes(unstableFeatures, /* unsafe-proto */ 8)) { // Removes the `__proto__` for security reasons. // https://tc39.es/ecma262/#sec-get-object.prototype.__proto__ delete Object.prototype.__proto__; |