diff --git a/lib/console.js b/lib/console.js index 53297c901cd336..32713ec5556d03 100644 --- a/lib/console.js +++ b/lib/console.js @@ -487,7 +487,8 @@ function noop() {} // we cannot actually use `new Console` to construct the global console. // Therefore, the console.Console.prototype is not // in the global console prototype chain anymore. -const globalConsole = Object.create({}); +// This is only here for v11.x conflict resolution. +const globalConsole = Object.create(Console.prototype); const tempConsole = new Console({ stdout: process.stdout, stderr: process.stderr