Variable that define outside a function can't use in a function?
951
Using global variables in a function
44112
"Variable" variables in Javascript?
88288
Calling a function that's defined inside a function
105287
(Why) is using an uninitialized variable undefined behavior?
20500
Declaring variables in external script
110433
Locally declared variables can not be inspected
83782
How to check a not-defined variable in JavaScript
113905
How can I check whether a variable is defined in JavaScript?
129423
How to change a global variable from within a function?
121668
How to avoid global variables in JavaScript?
58106
Local variables in Module leak into the Global context
7167
difference between variables inside and outside of __init__()
68351
Why can I use a function before it's defined in JavaScript?
73950
"extern" inside a function?
142412
How to get/set local variables of a function (from outside) in Python?
70969
Is there any way to access a local variable in outer scope in C++?
71634
Can a variable be defined only in the scope of an if-statement, similar to how it's often done for for-loops?