Skip to content
Release: Australia · Updated: 2026-03-12 · Official documentation · View source

Updates to the JavaScript engine in Australia

Review the updates to the JavaScript engine on the ServiceNow AI Platform in the Australia release.

The JavaScript engine is built on the open-source Rhino JavaScript engine and customized for scripting on the platform. In the Australia release, the JavaScript engine was updated to include the following commits from Rhino. For more information about Rhino, see the Rhino repository on GitHub.

Pull requestDescriptionApplicable JavaScript modeUpdate type
#2048Add Error.isErrorECMAScript 2021 (ES12)Feature
#2029Add new Set methodsECMAScript 2021 (ES12)Feature
#2025Add Promise.tryECMAScript 2021 (ES12)Feature
#1966Add TypedArray.from and TypedArray.ofECMAScript 2021 (ES12)Feature
#1980Add Promise.withResolversECMAScript 2021 (ES12)Feature
#1905Support ArrayBuffer detachmentECMAScript 2021 (ES12)Feature
#1896Enhance date string parsing with optional millisecond digitsAll modesFeature
#1751, #1872Support Symbol.hasInstance on Function.prototypeECMAScript 2021 (ES12)Feature
#1870Rework String.prototype.search, replace, replaceAll, and splitECMAScript 2021 (ES12)Feature
#2073, #2107Support duplicate keys in object literalsECMAScript 2021 (ES12)Fix
#2097Calling eval of a function returns undefinedECMAScript 2021 (ES12)Fix
#2065Correct template literal to string conversionECMAScript 2021 (ES12)Fix
#2060Don’t propagate strict mode when compiling scriptsES5 StandardsFix
#1979Support BigInt.asUintN and BigInt.asIntNECMAScript 2021 (ES12)Fix
#1860Correct this in apply and callECMAScript 2021 (ES12)Fix
#1982Correct this in Array.fromECMAScript 2021 (ES12)Fix
#1945Correct this in requireECMAScript 2021 (ES12)Fix
#1774Don't allow methods to be used as constructorsECMAScript 2021 (ES12)Fix
#1806Fix hoisting behaviorAll modesFix

Parent Topic:JavaScript engine on the platform