Global scope
In a programming environment, theglobal scope is thescope that contains, and is visible in, all other scopes.
In client-side JavaScript, the global scope is generally the web page inside which all the code is being executed.
In this article
See also
- Introduction to variable scope in JavaScript
- Scope on Wikipedia