title: Are variables in script type = "module" "invisible"?
body: <p>Say I have the following code:</p>
  
  <p><div class="snippet" data-lang="js" data-hide="false" data-console="true" data-babel="false">
  <div class="snippet-code">
  <pre class="snippet-code-js lang-js prettyprint-override"><code>//myjs.js
  let testingVisibility = "hello";</code></pre>
  <pre class="snippet-code-html lang-html prettyprint-override"><code>&lt;script type = "module" src = "myjs.js"&gt;&lt;/script&gt;</code></pre>
  </div>
  </div>
  </p>
  
  <p>When I want to access <code>testingVisibility</code> variable through the console in Firefox, <code>testingVisibility</code> variable is not declared.</p>