title: HTML JavaScript Include File Variable Scope
body: <p>If I include a JavaScript file in my HTML page, do the variables declared in my JavaScript file also have scope in my <code>&lt;script /&gt;</code> tags in my HTML page? For example, in my included JS file, I declare a variable:</p>
  
  <pre><code>var myVar = "test";
  </code></pre>
  
  <p>Then inside my HTML page, what will this produce (if it's after my include script tag)?</p>
  
  <pre><code>alert(myVar);
  </code></pre>