Request: Range-based for loops in js interpreter


#1

Would it be possible to include a range-based for in the javascript interpreter? This would make it possible to itterate over the properties of an object, and increase the utility of the interpreter massively.

 

Thanks


#2

Anything's possible, but we're super-stretched for resources right now and this is a low-priority. If anyone wanted to have a shot at doing it, then that's usually the best way to get us to add features. (And finding your way around the javascript interpreter might be an interesting learning experience!)