probably a common question but we canโ€™t write JS a...
# suitescript
m
probably a common question but we canโ€™t write JS arrow functions in SS, right? But the more modern (ES6+) array methods are supported?
n
You can use arrow functions in suitescript 2.1 Just change the @NApiVersion from 2.x to 2.1 and it should work
m
thank you!
๐Ÿ‘ 2

https://media.giphy.com/media/o75ajIFH0QnQC3nCeD/giphy.gifโ–พ

๐Ÿ˜‚ 1
dab parrot 1
n
๐Ÿ˜‚
s
you can still use
function
functions as well ๐Ÿ™‚