I’m daft and need help I can’t figure out why this doesn’t work (script widget). It seems the .push() doesn’t do anything inside the for-loop:
JS{{
global.someArray = [“black”];
for (i = 0; i < 10; i++) {
global.someArray.push(“black”);
}
}}
Cheers
Søren