4
How to use FOR generated number in a variable name ?
Example:
for (var i = 0; i < 5; i++) {
var teste[i] = "teste é " +[i];
}
Example 2:
for (var b = 0; b < 5; b++) {
var teste[b] = "teste";
}
OR
I have to create a group of numbered variables, example:
var teste1
var teste2
var teste3...
What better way than one by one ?
Create an array. Type: test[i]... No need to save each as a variable.
– HiHello