Can anybody please provide example and/or details as to how to correctly use the mJS load
function, in regards to the “global namespace” and passing an object to load( 'file.js', myOBJ );
and how that would/should work?
As example, if I pass an object to a file through load()
… does that set the this
reference that i can use anywhere in the loaded file? Do I have to set the object with let
in that file? I can’t find any documentation or example on how to use this feature, any help would be greatly appreciated!
Thanks!