Function can see variables declared outside of there scope
317
What is the scope of variables in JavaScript?
138754
Variable scoping in Module
27136
Reference: What is variable scope, which variables are accessible from where and what are "undefined variable" errors?
30987
How to tell if a JavaScript function is defined
58106
Local variables in Module leak into the Global context
42204
Effect of declared and undeclared variables
62927
Python scope: "UnboundLocalError: local variable 'c' referenced before assignment"
34264
Why is my HelloWorld function not declared in this scope?
125542
Function behaves differently inside a package than outside
4272
Short description of the scoping rules?
99292
Why aren't variables declared in "try" in scope in "catch" or "finally"?
18605
Local variables in nested functions
108536
Manipulate using a variable defined outside of the manipulate function
49763
Problem with "scopes" of variables in try catch blocks in Java
128503
Expand scope of a variable initialized in a if/else sequence
121668
How to avoid global variables in JavaScript?
85118
What happens with event handlers when an object goes out of scope?