Which ECMAScript standards comply Adobe's ExtendScript implementation? (if any)

爷,独闯天下 提交于 2019-12-03 07:45:30
Matthew Chung

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, expres- sions, and statements. ExtendScript also implements the E4X ECMA-357 specification, which defines access to data in XML format.

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

You can add the ECMAScript 5 array methods to ExtendScript by including a modified version of this polyfill. The one modification you need to make is at the very end of array.generics.js, remove the block of code scoped by if (document). (around line 583).

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!