Javascript function scope variable is available in the global scope
317
What is the scope of variables in JavaScript?
30608
How to access javascript variable stored in function closure from browser console?
8220
Can't access global variable inside function
35109
C++ global and local variables
142130
PHP global in functions
113905
How can I check whether a variable is defined in JavaScript?
37271
How to access variables defined and declared in one function in another function?
2063
Can a local variable's memory be accessed outside its scope?
130557
javascript named function expressions - scope accessibility
112198
Global Variables vs. Local Variables
99292
Why aren't variables declared in "try" in scope in "catch" or "finally"?
1054
How do JavaScript closures work?
108473
How to access a function inside a function?
77935
How to tell JSLint / JSHint what global variables are already defined
138754
Variable scoping in Module
121537
JavaScript: Reference a functions local scope as an object
70969
Is there any way to access a local variable in outer scope in C++?