More efficient way to do this? (photo)

@gemats
Use an —> ARRAY —> for your textes

myArray = []
myArray.push()

// make it so, that you have this at the end.....
myArray = ["text1", "text2", "text3"] //---< and so on.....


console.log(myArray[0])
console.log(myArray[1])
console.log(myArray[2])

// + ---> loop

In my example, i already gave you the idea with the loop.

Now try to combine both of my ideas :wink: