I have variables with a common name, and they differ by the number assigned to them, that is:
let nombre1 = ;
let nombre2 = ;
let nombre3 = ;
...
let nombre500 = ;
Is there a more compact way to declare them?
I have variables with a common name, and they differ by the number assigned to them, that is:
let nombre1 = ;
let nombre2 = ;
let nombre3 = ;
...
let nombre500 = ;
Is there a more compact way to declare them?
Thanks @HeytalePazguato
With that then I can create it like this:
Thus, I no longer declare one by one and assign a value to them as I use them.