diff options
Diffstat (limited to 'runtime/js/99_main.js')
-rw-r--r-- | runtime/js/99_main.js | 4 |
1 files changed, 0 insertions, 4 deletions
diff --git a/runtime/js/99_main.js b/runtime/js/99_main.js index 8b0d579ab..24379b9df 100644 --- a/runtime/js/99_main.js +++ b/runtime/js/99_main.js @@ -536,10 +536,6 @@ function dispatchUnloadEvent() { } let hasBootstrapped = false; -// Delete the `console` object that V8 automatically adds onto the global wrapper -// object on context creation. We don't want this console object to shadow the -// `console` object exposed by the ext/node globalThis proxy. -delete globalThis.console; // Set up global properties shared by main and worker runtime. ObjectDefineProperties(globalThis, windowOrWorkerGlobalScope); |