Does anyone know how to set a "Global" variable in...
# suitescript
m
Does anyone know how to set a "Global" variable in a RESTlet? I've tried defining the variable before the
define
, as the first line in the highest level function (as part of the
define
), and using
window.variable_name;
(to which I got window is not defined)?
er... guess I got it, nvm