Hi Patrick,
in standard this code can help you.
you can define an array, but you cannot put an object into the array - means you need 2 arrays.
var names = ["a", "b", "c"];
var values = [23, 34, 36];
names.forEach(function(elementName, indexName) {
values.forEach(function(elementValue, indexValue) {
if(indexName == indexValue) {
APPLICATION.createInfoMessage("name: " + elementName + ", value: " + elementValue);
}
});
});
how do you want to use it actually?
Karol