Has this been around long? I just noticed that a Suitelet has a global variable window defined that looks like:
{"weekstart":"1","dateformat":"MM/DD/YYYY","longdateformat":"Month DD, YYYY","timeformat":"fmHH:fmMI am","timeformatwithseconds":"fmHH:fmMI:SS am","decimalseparator":".","groupseparator":",","negativeprefix":"-","negativesuffix":"","datetime_am_string":"am","datetime_pm_string":"pm","datetime_short_months":["Jan","Feb","Mar","Apr","May","Jun","Jul","Aug","Sep","Oct","Nov","Dec",""]} That variable collides with libraries that expect the presence of a window global to mean they are running in browser.It looks like "window" in this context is meant to represent window of time?In any case, has anyone used this global window in server-side suitescript? Is it documented anywhere? Is it a bug?