gnh1201 / welsonjs

WelsonJS - Build a Windows app on the Windows built-in JavaScript engine
https://catswords.social/@catswords_oss
GNU General Public License v3.0
143 stars 12 forks source link

[app] Enumerator in Chakra engine mode #100

Open gnh1201 opened 8 months ago

gnh1201 commented 8 months ago

Summary

As mentioned in the previous issue #30, Enumerator is non-standard, so it is not supported in Chakra mode, which supports ES5-level syntax. When WelsonJS is in Chakra mode, it should be automatically changed to use Iterator or Generator.

Related issues