I saw a pre-launch FAQ on the Adobe Tech Blog that says XD plugins will "be written in modern JavaScript", but what does that mean exactly?
Adobe XD Extensibility is built on top of a Modern JavaScript engine, which means that it understands both older versions of JavaScript (ES5) and the newer variants (ES6 / ES2015, etc.). ExtendScript is not supported for Adobe XD plugins.
Some useful features are listed below:
Array#map
, Array#foreach
, etc. const
and let
(block-scoped variables)async
and await
That said, if you're not familiar with ES2015+, you're not required to use it.