Javascript scopes - global vs functional
317
What is the scope of variables in JavaScript?
121668
How to avoid global variables in JavaScript?
19638
What is the purpose of the var keyword and when should I use it (or omit it)?
95347
User scope vs Application scope in app.config
19832
(1, eval)('this') vs eval('this') in JavaScript?
109372
JavaScript Callback Scope
134356
How can global function exist in C#?
91194
How to set global variable in functions.php
45766
What is scope/named_scope in rails?
140402
Do inner functions in JavaScript get hoisted? How do the scoping rules apply to them?
38133
JavaScript variables declare outside or inside loop?
12957
Do DOM tree elements with ids become global variables?
16454
Enforcing correct variable bindings and avoiding renamings for conflicting variables in nested scoping constructs
121537
JavaScript: Reference a functions local scope as an object
81478
Setting local variables to a function instead of using globals optimize the function
106906
Does JavaScript pass by reference?
134363
Why does the global variable exist here, where it was declared only in Module?