title: Global Variable NOT working - Node 14.15.3
body: <pre><code>var myVariable = 3;
  console.log('global', globalThis.myVariable);
  </code></pre>
  <p>I tried running the code using <code>node file.js</code>, but keep getting the result:</p>
  <blockquote>
  <p>global undefined</p>
  </blockquote>
  <p>Can someone explain to me what exactly is going on here?</p>