How can I use a for loop to dynamically create variables, and be returned.
function createVariables()
{
for ( i=0; i<=20; i++ )
{
var account = i;
return var account + i;
}
}
The goal is to have the result below:
var account1;
var account2;
var account3; and etc.....