Defining numerous variables in a single step?
<p>Is there a solution I can use that allows me to define more than one var with the same value in a single step at the start of my funcion?</p>

<pre><code>function myFunction () {
    var a,b = 0;
    document.write(a) // undefined
    document.write(b) // 0
}
</code></pre>

<p>Is there an improved way to write  <code>a,b = 0;</code> ?</p>
