I read from the documentation that it recommends using e.g:
g = new Global("j1");
However if I put a value at the top in a .js file without the var keyword then the variable is accessible from other js scripts in the same patcher. Is this not a recommended approach?
//Beginning of some .js file..
tesvar = "globalvalue";