I mean, either way, it's really executing in the b...
# suitescript
s
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
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
Yeah I've had the same issue
e.g. importing a third party library that uses
WeakMap
m
Also in some cases NetSuite executes client scripts server side (I've definitely seen it with address form client scripts).
s
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".