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