- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2022 02:33 PM
Does ServiceNow not support client-side async functions in UI Pages? Getting the following error:
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2022 02:48 PM
Hi, 'async function' is supported @ ECMAScript 2017 or later, and ServiceNow currently supports ECMAScript 5
As of Tokyo the platform supports ECMAScript 2021 for 'scoped apps'
but the doc's state that async function constructor is disallowed.
JavaScript engine feature support (servicenow.com)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
10-13-2022 02:48 PM
Hi, 'async function' is supported @ ECMAScript 2017 or later, and ServiceNow currently supports ECMAScript 5
As of Tokyo the platform supports ECMAScript 2021 for 'scoped apps'
but the doc's state that async function constructor is disallowed.
JavaScript engine feature support (servicenow.com)