Can we achieve this?
I am looking to create an array with a dynamic name and content that can be easily expanded and accessed.
variable = {};
var values = ['item', 'item2'];
for(key in values){
variable[values[key]] = [];
}
If it's possible but not through the above method, then how can it be done?