When I do this in my node.js module:
var abc = \'123\';
Where does it go? And by this I mean: in the browser it goes in window.abc
window.abc
Node has a module scope, so var abc = '123' in a module will create a variable which is scoped to (and therefore, reachable only for code in) that module.
var abc = '123'
See also http://nodejs.org/api/globals.html#globals_global