Do they work or they don't? Changing some var variables to let resulted into error, while changing some of them to const didn't. Are both of them unsupported?


Not currently.

I was just curious what version of JS does ESTK support for Adobe Illustrator? I am noticing that “const” works, but “let” does not. Is there a list somewhere of supported language features?

- mickyhulse, Jun 19, 2019

ExtendScript based ECMA Edition 3 and not support "let" and "const" is better not to use it.

- Ten A (Adobe Community Professional), Jun 20, 2019

Interestingly, it appears that After Effects supports most of ECMA 2018 which would include let and const.

The Illustrator user guide doesn't have much to say but there's a bug report that has been inactive since Feb 24, 2020.

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.