this is a server-side script... but playing with t...
# suitescript
s
this is a server-side script... but playing with things it appears that if you require('./foo') inside your script, any declarations is makes are introduced into scope of the calling script, which is how I expect requirejs to work