* refactor: clean to roadmap content * refactor: move shared helpers into scripts/lib
477 B
477 B
Function
Function scope means a variable declared inside a function is only accessible within that function. Variables declared with var are function-scoped. Each function call creates a new scope, so variables inside a function do not conflict with variables of the same name in other functions.
Visit the following resources to learn more: