Is the following valid javascript? Would the variable be available to the externally called script?
<script src="//blah">
var something = "";
</script>
Background: I have seen this used in auto generated analytic code (not google) and it really annoys me so wanting to know if i can fix this or if this variable will somehow be used by the externally referenced script.