Check JavaScript version in server-side
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 12:17 AM
Hi all,
I would like to know where, in my ServiceNow instance, I can check the JavaScript engine version that is running in the server side.
Thank you.
Regards,
Marcos.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎05-08-2023 10:05 PM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 02:26 AM
Hi Priyadarshini,
Below link has the information related to the JavaScript engine on Jakarta Version:
You can find the JavaSAcript engine based on your instance version on https://docs.servicenow.com/ or wiki.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 02:40 AM
Hi Ajay,
Thank you for your answer. Could you provide the exact links for each ServiceNow version?
Regards,
Marcos.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎09-20-2017 03:08 AM
Hi Marcos,
I guess after Geneva the JavaScript engine is based upon Rhino version 1.7 R5.
You can refer this link for more information
I searched in Helsinki and Istanbul for JavaScript engine information. It had similar information.

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
‎11-30-2017 01:56 PM
Ajay is correct, they're essentially the same for every version on the docs site. Here are the links for every supported version.
Kingston - N/A
Jakarta JavaScript engine upgrade
Istanbul JavaScript engine upgrade
Helsinki JavaScript engine upgrade
Geneva - N/A
Here is a blog entry announcing it for Helsinki - ECMAScript 5 in ServiceNow Helsinki!
I can personally confirm functions like String.prototype.trim() which are ECMAScript 5.1 doesn't work in my Jakarta Patch 5 instance. Feel free to try yourself. String.prototype.trim() - JavaScript | MDN Maybe once I have more time I'll test some later version ECMAScript functions as well.
Also I believe ServiceNow isn't even on the latest version of Prototype.js (what they use for script include definitions). Since we don't have access to the newer stuff. http://prototypejs.org/learn/
You're probably aware for client scripts, you're limited to the user's browser supportability also, for instance String.prototype.contains() may not work in IE but does in Chrome.
Just my speculation - it'll probably be at least London until we see another script engine improvement.