I mean, either way, it's really executing in the browser, not in the NetSuite engine, so I don't think it should matter
d
dbarnett
10/30/2019, 4:53 PM
agreed with this ^
although in the past I think I had problem uploading script contents themselves with NS validation, it did not like certain keywords such as async/await and * for generator functions
j
jkabot
10/30/2019, 4:57 PM
Yeah I've had the same issue
jkabot
10/30/2019, 4:57 PM
e.g. importing a third party library that uses
WeakMap
m
michoel
10/30/2019, 9:17 PM
Also in some cases NetSuite executes client scripts server side (I've definitely seen it with address form client scripts).
s
scottvonduhn
10/30/2019, 11:34 PM
Yes, I have seen it with Recurring Billing Sales Order scripts too. They execute the client scripts server-side under an Execution Context named "Other".