Can I pass a value out of a javascript function?
<p>Can I pass a value out of a javascript function and back to the calling function, e.g.</p>

<pre><code>function updateURL(url, name, param) {
  url = url + "&amp;" + name + "=" + param;
}
</code></pre>

<p>I want to update url and return the new value.</p>

<p>Is this possible?</p>
