In a programming environment, the global scope is the scope 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.
Learn more
Learn about it
- Introduction to variable scope in JavaScript
- Scope on Wikipedia