![]() Under “Design and Runtime” change “JavaSCript Mode” to ECMAScript 2021 (ES12).Create a new app via your preferred method (eg.Make sure your instance is upgraded to Tokyo (get a Personal Developer instance here).To utilize ECMASCript 2021 on your app, just follow these simple steps: This page has all the new features that are supported, not supported, and disallowed. To see the full documentation of changes, you can see the release notes here: JavaScript engine feature support. ![]() ServiceNow has denoted our version of JavaScript as ECMAScript 2021, which encompasses the feature roll-up of ECMAScript 6 to ECMAScript 12. Newer versions have come out since then (7+ years ago!) and thus, we have been missing out on some helpful functionality.Ĭlient-side scripting is run in your web browser so usually any client script you’ve made on ServiceNow could utilize the newest JavaScript features, but any script running on the server was limiteded to ES5. “ECMAScript” is basically the version of JavaScript. Prior to the Tokyo Release, ServiceNow’s serverside JavaScript utilized ECMAScript 5. The biggest request from developers is finally here! That’s right, support for newer versions of ECMAScript has arrived with ServiceNow’s Tokyo Release.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |