How do I declare multiple vars in JavaScript's "for" statement?
<pre><code>for(var i = 0, var p = ''; i &lt; 5; i++)
{
    p += i;
}
</code></pre>

<p>Based on a JavaScript book i'm reading, this is valid code. When I test it doesn't work, and in FireBug I get this error:</p>

<pre><code>SyntaxError: missing variable name
</code></pre>
