Perhaps a better term would be global scope. The next level would be inside a function, so anything declared within a function is not accessible outside the scope of the function. Modules are an example of this. The only access to objects methods and variables are the items that get exported.
Espruino is a JavaScript interpreter for low-power Microcontrollers. This site is both a support community for Espruino and a place to share what you are working on.
Perhaps a better term would be global scope. The next level would be inside a function, so anything declared within a function is not accessible outside the scope of the function. Modules are an example of this. The only access to objects methods and variables are the items that get exported.