How to access global variable from a function when the name is same as argument name in JavaScript? : <p>How to access global variable from a function when the name is same as argument name in JavaScript ?</p>

<pre><code>var name = null;

function func(name) {
  // How to set the global variable with the passed value
}
</code></pre>
