Whats the correct syntax for declaring a variable within a loop? Something like this:
var p = 0;
while (p<10) {
var ["variable"+p] = "test";
p++
}
Thanks. Much appreciated.
Whats the correct syntax for declaring a variable within a loop? Something like this:
var p = 0;
while (p<10) {
var ["variable"+p] = "test";
p++
}
Thanks. Much appreciated.
:: Copyright KIRUPA 2024 //--