From 0000000000000000000000000000000000000000 Mon Sep 17 00:00:00 2001
From: Cheng Zhao <zcbenz@gmail.com>
Date: Fri, 29 Mar 2019 16:21:42 +0900
Subject: fix: make it possible to change noBrowserGlobals at runtime

This is a temporary hack in responding to Node's change:
https://github.com/nodejs/node/pull/26228

We need to figure out a better solution.

diff --git a/lib/internal/bootstrap/node.js b/lib/internal/bootstrap/node.js
index 8dee38a0e71698258bee7642f9b91c5c8b9060c2..1cdf79dfaa9aecc4ac3bcb05212514929b80603d 100644
--- a/lib/internal/bootstrap/node.js
+++ b/lib/internal/bootstrap/node.js
@@ -164,7 +164,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
