${"dynamic" + $i} variable names in javascript

Hello

By dynamic variables I think you’re referring to arrays? There’s a few ways to accomplish what you ask. Here’s an example:



var myArray = {
   value1: "hello",
   value2: "what's up",
   value3: "not much"
}

for (var i in myArray) {

   alert(test[i]);

}