How to loop object key/values
-
What's the best method to loop through an object and get it's keys and values in HISE?
I tried the usual
for (var k in obj) {};
but it wasn't recognised. I've also tried usingObject.keys
but same problem. -
'for(key in object)'. I know it should accept the 'var' at the beginning of the loop statement, but the parser is a bit quirky here.
-
Oh, that simple :) thanks