is it to be assumed that SS doesn’t support the ne...
# suitescript
d
is it to be assumed that SS doesn’t support the newer array iteration format of
Copy code
for (const value of values)
format?
b
thats from ECMAScript 2015
so not suitescript 2.0
you can try it in 2.1 if you want to join the guinea pigs
d
@battk how bad is it?
a
Still beta and you can count with your fingers the relevant additions (other than syntactical sugar)...
b
in general i dont touch things in beta unless necessary
i test it when it comes out of beta
and consider it ready to be used next netsuite release
c
2.0 does support 5.1
so if thats actually 2015 and in the 5.1 you're good
b
no false hope: 2015 is after 5.1
c
ah well hell
s
If you are going to try the 2.1 script, make sure you update the version to 2.1, because 2.x only includes non-beta releases.
NetSuite is providing a transition period of one year for you to test your existing scripts and make sure they work as expected using SuiteScript 2.1. After this transition period, the 2.x value will indicate that a script uses SuiteScript 2.1.