JavaScript: Dynamically Creating Variables for Loops
<p>How can I use a for loop to dynamically create variables, and be returned.</p>

<pre><code>function createVariables()
{
for ( i=0; i&lt;=20; i++ )
    {
        var account = i;
        return var account + i;
    }
 }
</code></pre>

<p>The goal is to have the result below:</p>

<pre><code>var account1;
var account2;
var account3; and etc.....
</code></pre>
