SuiteScript – Can I Use?

This page provides an up-to-date report on which JavaScript features are supported in server-side SuiteScript.

Tests are executed daily.

Last Checked: 2025-05-15T07:02:04.712Z
NetSuite Version: 2025.1
ECMAScript Version: ES2023
Number of Tests: 84

Test Results

Filter:


Documentation Feature Supported Error ECMAScript Version
Map
true
ES6 (2015)
Set
true
ES6 (2015)
String.prototype.endsWith()
true
ES6 (2015)
String.prototype.includes()
true
ES6 (2015)
String.prototype.startsWith()
true
ES6 (2015)
Array.prototype.includes()
true
ES2016
Object.entries()
true
ES2017
Object.getOwnPropertyDescriptors()
true
ES2017
Object.values()
true
ES2017
String.prototype.padEnd()
true
ES2017
String.prototype.padStart()
true
ES2017
Intl.PluralRules
true
ES2018
RegExp lookbehind assertion: (?<=...), (?<!...)
true
ES2018
RegExp named capturing group: (?<name>...)
true
ES2018
RegExp unicode character class escape: \p{...}, \P{...}
true
ES2018
RegExp.prototype.dotAll: /s flag
true
ES2018
Spread and Rest syntax: ...
true
ES2018
Array.prototype.flat()
true
ES2019
Array.prototype.flatMap()
true
ES2019
Function.prototype.toString()
true
ES2019
Object.fromEntries()
true
ES2019
String.prototype.trimEnd()
true
ES2019
String.prototype.trimStart()
true
ES2019
BigInt
true
ES2020
Intl.Locale
true
ES2020
Intl.RelativeTimeFormat
true
ES2020
Nullish coalescing operator: ??
true
ES2020
Optional chaining: ?.
true
ES2020
Promise.allSettled()
true
ES2020
String.prototype.matchAll()
true
ES2020
Intl.DisplayNames
true
ES2021
Intl.ListFormat
true
ES2021
Logical AMD assignment: &&=
true
ES2021
Logical OR assignment: ||=
true
ES2021
Nullish coalescing assignment: ??=
true
ES2021
Numeric separators: 1_000_000
true
ES2021
Promise.any()
true
ES2021
String.prototype.replaceAll()
true
ES2021
structuredClone()
false
structuredClone is not definedES2021
WeakRef
true
ES2021
Array.prototype.at()
true
ES2022
Class static keyword
true
ES2022
Intl.Segmenter
true
ES2022
Object.hasOwn()
true
ES2022
Private properties: #property
true
ES2022
RegExp.prototype.hasIndices: /d flag
true
ES2022
String.prototype.at()
true
ES2022
Array.prototype.findLast()
true
ES2023
Array.prototype.findLastIndex()
true
ES2023
Array.prototype.toReversed()
true
ES2023
Array.prototype.toSorted()
true
ES2023
Array.prototype.toSpliced()
true
ES2023
Array.prototype.with()
true
ES2023
ArrayBuffer.prototype.resizable
false
resizable is not a booleanES2024
ArrayBuffer.prototype.resize()
false
resize is not a functionES2024
ArrayBuffer.prototype.transfer
false
transfer is not a functionES2024
Map.groupBy()
false
Map.groupBy is not a functionES2024
Object.groupBy()
false
Object.groupBy is not a functionES2024
Promise.withResolvers()
false
Promise.withResolvers is not a functionES2024
RegExp.prototype.unicodeSets: /v flag
false
Invalid regular expression flagsES2024
String.prototype.isWellFormed()
false
String.prototype.isWellFormed is not a functionES2024
String.prototype.toWellFormed()
false
String.prototype.toWellFormed is not a functionES2024
Intl.DurationFormat
false
Intl.DurationFormat is not a constructorES2025
Iterator.prototype.drop()
false
iterator(…).drop is not a functionES2025
Iterator.prototype.every()
false
iterator(…).every is not a functionES2025
Iterator.prototype.filter()
false
iterator(…).filter is not a functionES2025
Iterator.prototype.find()
false
iterator(…).find is not a functionES2025
Iterator.prototype.flatMap()
false
iterator(…).flatMap is not a functionES2025
Iterator.prototype.forEach()
false
iterator(…).forEach is not a functionES2025
Iterator.prototype.map()
false
iterator(…).map is not a functionES2025
Iterator.prototype.reduce()
false
iterator(…).reduce is not a functionES2025
Iterator.prototype.some()
false
iterator(…).some is not a functionES2025
Iterator.prototype.take()
false
iterator(…).take is not a functionES2025
Iterator.prototype.toArray()
false
iterator(…).toArray is not a functionES2025
Promise.try()
false
Promise.try is not a functionES2025
RegExp.escape
false
escape is not a functionES2025
Set.prototype.difference()
false
Set.difference is not a functionES2025
Set.prototype.intersection()
false
Set.intersection is not a functionES2025
Set.prototype.isDisjointFrom()
false
Set.isDisjointFrom is not a functionES2025
Set.prototype.isSubsetOf()
false
Set.isSubsetOf is not a functionES2025
Set.prototype.isSupersetOf()
false
Set.isSupersetOf is not a functionES2025
Set.prototype.symmetricDifference()
false
Set.symmetricDifference is not a functionES2025
Set.prototype.union()
false
Set.union is not a functionES2025
Temporal
false
Temporal is not definedES2026

Feature Request

Submit a request for a new feature in the list.