What ECMAScript standards comply with the implementation of Adobe ExtendScript? (if there)

I am a JavaScript developer who has just begun to immerse herself in Adobe ExtendScript technology aimed at improving productivity and workflow on many of my corporate tasks in Illustrator. Formation of PDF forms.

In the first case, I thought it was an implementation of some ECMAScript standards with the addition of a proper implementation of the Document Object Model, an API for accessing the file system and some other things. I was hoping the latest version of Creative Suite ( CS6 ) was implemented by ECMAScript 5 .

My first surprise was not to find links on the Internet about the details of the implementation of the ExtendScript engine. My second surprise was that when requesting Array.prototype for some ECMAScript 5 methods, this value is undefined , which makes me doubt in accordance with implementation standards.

Can someone please provide any link to this implementation information if it is compliant with the ECMAScript standard and which version?

Thank you very much in advance.

+7
source share
2 answers

If you look at the After Effects CS6 Scripting Guide , it says:

The After Effects scripting engine supports the 3rd edition of the ECMA-262 Standard, including its notational and lexical conventions, types, objects, expressions, and statements. ExtendScript also implements the E4X ECMA-357 specification, which defines access to XML data.

I believe the rest of the Adobe Collection is the same.

+6
source

You can add ECMAScript 5 array methods to ExtendScript by including a modified version of this polyfill in it . One modification you have to do is at the very end of array.generics.js , remove the code block covered by if (document) . (around line 583).

+2
source

All Articles