summaryrefslogtreecommitdiff
path: root/ext/node/polyfills/console.ts
diff options
context:
space:
mode:
Diffstat (limited to 'ext/node/polyfills/console.ts')
-rw-r--r--ext/node/polyfills/console.ts4
1 files changed, 3 insertions, 1 deletions
diff --git a/ext/node/polyfills/console.ts b/ext/node/polyfills/console.ts
index c72cfb160..b1364481f 100644
--- a/ext/node/polyfills/console.ts
+++ b/ext/node/polyfills/console.ts
@@ -9,7 +9,9 @@ import { windowOrWorkerGlobalScope } from "ext:runtime/98_global_scope_shared.js
// to native `console` object provided by V8.
const console = windowOrWorkerGlobalScope.console.value;
-export default Object.assign({}, console, { Console });
+Object.assign(console, { Console });
+
+export default console;
export { Console };
export const {