[Pas2js] for .. in loop

Ryan Joseph ryan at thealchemistguild.com
Fri May 18 15:24:44 CEST 2018


I wanted to do a follow up here on my bug report about the for loop. So I learned it does work but only if the element being iterated is a string. Why is it limited to just strings? The array could have any other object in it right? At least give an error message to makes sense. No one will expect you can only iterate JSArrays with strings by design.

Regards,
	Ryan Joseph



More information about the Pas2js mailing list