Assertion: variable | /r/HasProperty | declared inside function
Facets:
Source sentences:
text: Variables that are declared inside a function or block are local variables.
text: A variable declared within a function has a LOCAL SCOPE and can only be accessed within that function:
text: The variable must also be declared in each function that wants to access it; this states the type of the variable.
text: A variable declared outside a function has a GLOBAL SCOPE and can only be accessed outside a function: