
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 02:42 AM
Hi All.
I have a scoped application that was developed on Quebec, so the Javascript mode is set to "ESS Standards Mode".
I would like to change the mode to "ECMAScript 2021" to start utilizing some of the new Javascript functionality.
Please advise if upgrading an existing app is seen as good practice. Has anyone done this and experienced any issues? Is there anything else I should be aware of?
Thanks!
Tim.
Solved! Go to Solution.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 07:39 AM - edited 02-12-2024 07:39 AM
Yes, there's always a risk..
There is this documentation, however I doubt it'll make much sense..
JavaScript engine feature support (servicenow.com)
A bit more high-over is highlighted here:
JavaScript modes (servicenow.com)
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 03:28 AM
Hi @Tim D Scott,
There is not really a good or bad practice here.
If you want or need the advantages that ECMAScript 2021 has, then please make the switch. 🙂
Of course you will need to test, if your application keeps working without issues, as you may use code which is not supported anymore.
Apart from that there should not be any issues.
I've changed this setting for a couple of my apps without any issues so far.
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 06:29 AM
Thanks, Peter, so it sounds like there may be a risk of something breaking, do you know of any documentation that highlights the unsupported functionality?

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-12-2024 07:39 AM - edited 02-12-2024 07:39 AM
Yes, there's always a risk..
There is this documentation, however I doubt it'll make much sense..
JavaScript engine feature support (servicenow.com)
A bit more high-over is highlighted here:
JavaScript modes (servicenow.com)
Help others to find a correct solution by marking the appropriate response as accepted solution and helpful.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
02-13-2024 01:42 AM
Thanks again Peter, I had a look over the documentation and it seems like my app will be OK. Will give it a go and see what happens 👍