How to reference a global scope variable into the local scope?
<pre><code>var b=1;

function someFunc(b) {
     //here 
}
</code></pre>

<p>I want to be able to reference the variable b that is defined outside the function. How can this be done in javascript?</p>
