Are there any converters or methods for converting Javascript 1.7 code with its new language features in Javascript 1.6?
What interests me most is iterator generators and the yield keyword. I use a script mechanism that I use only 1.6, but iterator generators will do much better code. Writing it by hand seems complicated.
I tried writing it to C #, decompiling using ILSpy, and transferring it to Javascript manually. But this damn mess.
I was looking for such a converter, but I didn’t find anything - perhaps due to the fact that in this case the search conditions are shared with irrelevant results.
source share