Roll20 uses cookies to improve your experience on our site. Cookies enable you to enjoy certain features, social sharing functionality, and tailor message and display ads to your interests on our site and others. They also help us understand how our site is being used. By continuing to use our site, you consent to our use of cookies. Update your cookie preferences here.
×
×
Cookie Preferences
We use Cookies to help personalize and improve Roll20. For more information on our use of non-essential Cookies, visit our Privacy Policy here.
Hey all, Can anyone advise on whether Roll20 API supports EcmaScript 6 in full? I'm having difficulty finding information on what is supported. Hopefully I haven't overlooked the obvious somewhere... Thanks! :)
Roll20 has partial support for ECMAScript 6. I believe the support roughly matches NodeJS 4 on the ECMAScript 6 Compatibility Table . So, certain features (like class, super, and let) are only available in strict mode, certain features (like rest parameters) don't work at all, and certain features (like template literals) work perfectly fine.