I think I would have checked to see `if (typeof wi...
# suitescript
m
I think I would have checked to see
if (typeof window == 'undefined') { /* run server code */ } else { /* client code */ }