mirror of
https://github.com/kamranahmedse/developer-roadmap.git
synced 2026-10-25 17:42:27 +08:00
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: