Suppose I have a variables in the global scope.
Suppose I wish to define a function which I can guarantee will not have access to this variable, is there a
Create a local variable with the same name. If you have a global variable like this:
var globalvar;
In your function:
function noGlobal(); { var globalvar; }
If the function refers to globalvar, it will refers to the local one.