diff options
author | Kenta Moriuchi <moriken@kimamass.com> | 2023-04-03 02:41:41 +0900 |
---|---|---|
committer | GitHub <noreply@github.com> | 2023-04-02 19:41:41 +0200 |
commit | 03edd48edd004cec091541e6b71095cfbc4b4c87 (patch) | |
tree | 72aed1dae803334b73479ffebc7ca8c83d10addf /runtime/js/99_main.js | |
parent | ad8d0c90d1887beb8a5f2c6d30f9dc71cc63e4fe (diff) |
chore: Turn back on dlintPreferPrimordials (#17715)
Closes #17709
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r-- | runtime/js/99_main.js | 76 |
1 files changed, 38 insertions, 38 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 956f35d0a..fa16cc1f4 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -411,25 +411,25 @@ function bootstrapMainRuntime(runtimeOptions) { throw new Error("Worker runtime already bootstrapped"); } - const [ - args, - cpuCount, - debugFlag, - denoVersion, - locale, - location_, - noColor, - isTty, - tsVersion, - unstableFlag, - pid, - ppid, - target, - v8Version, - userAgent, - inspectFlag, - _, - ] = runtimeOptions; + const { + 0: args, + 1: cpuCount, + 2: debugFlag, + 3: denoVersion, + 4: locale, + 5: location_, + 6: noColor, + 7: isTty, + 8: tsVersion, + 9: unstableFlag, + 10: pid, + 11: ppid, + 12: target, + 13: v8Version, + 14: userAgent, + 15: inspectFlag, + // 16: enableTestingFeaturesFlag + } = runtimeOptions; performance.setTimeOrigin(DateNow()); globalThis_ = globalThis; @@ -519,25 +519,25 @@ function bootstrapWorkerRuntime( throw new Error("Worker runtime already bootstrapped"); } - const [ - args, - cpuCount, - debugFlag, - denoVersion, - locale, - location_, - noColor, - isTty, - tsVersion, - unstableFlag, - pid, - _ppid, - target, - v8Version, - _userAgent, - _inspectFlag, - enableTestingFeaturesFlag, - ] = runtimeOptions; + const { + 0: args, + 1: cpuCount, + 2: debugFlag, + 3: denoVersion, + 4: locale, + 5: location_, + 6: noColor, + 7: isTty, + 8: tsVersion, + 9: unstableFlag, + 10: pid, + // 11: ppid, + 12: target, + 13: v8Version, + // 14: userAgent, + // 15: inspectFlag, + 16: enableTestingFeaturesFlag, + } = runtimeOptions; performance.setTimeOrigin(DateNow()); globalThis_ = globalThis; |