Afternoon, I'm trying to use a the Map type in a 2...
# suitescript
c
Afternoon, I'm trying to use a the Map type in a 2.1 script and I'm getting `ReferenceError: "Map" is not defined.`If 2.1 is supposed to be ECMA 2018, this seems like it should work.
b
are you sure its 2.1
c
It's not, I have it broken up into separate files and now I'm getting "Fail to evaluate script: All SuiteScript API Modules are unavailable while executing your define callback." on the deployment file.
Argh, netsuite.
I forgot how I got around this a few moths back.
b
beyond the obvious making sure you aren't using suitescript in your define function
try updating the file using different methods like via sdf or in the ui
👍 1