how do i create variable loop in javascript
Answers
Answered by
1
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; } }
function createVariables() { for ( i=0; i<=20; i++ ) { var account = i; return var account + i; } }
hasnatmirza111p06f0z:
but i think i ll not work
Similar questions
Math,
7 months ago
English,
7 months ago
Physics,
7 months ago
Social Sciences,
1 year ago
Math,
1 year ago