diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js index c510bca61b8..bdad6293686 100644 --- a/lib/internal/bootstrap/node.js +++ b/lib/internal/bootstrap/node.js @@ -174,7 +174,7 @@ const { queueMicrotask } = require('internal/process/task_queues'); -if (!config.noBrowserGlobals) { +if (!process._noBrowserGlobals) { // Override global console from the one provided by the VM // to the one implemented by Node.js // https://console.spec.whatwg.org/#console-namespace