Copy link to clipboard
Copied
Despite this being advertised as a feature.
I can't even run a one line script with
let test = 10;
Throws an error saying ';' expected. However, if I change 'let' to 'var' then it works.
Has anyone been able to run scripts using the new syntax?
Are you talking about scripting or expressions? The expressions engine is what was updated (based on ECMAScript 2018), but the scripting engine wasn't (as far as I know). This opacity expression works for me:
let test = 10;
test
but this script does not, returning the error message you mentioned:
let test = 10;
alert (test);
Dan
Copy link to clipboard
Copied
Are you talking about scripting or expressions? The expressions engine is what was updated (based on ECMAScript 2018), but the scripting engine wasn't (as far as I know). This opacity expression works for me:
let test = 10;
test
but this script does not, returning the error message you mentioned:
let test = 10;
alert (test);
Dan
Copy link to clipboard
Copied
Yes, I am referring to scripting. Wow that is incredibly disappointing. I would have never thought they would have 2 different javascript engines in the same product.
Get ready! An upgraded Adobe Community experience is coming in January.
Learn more