Back to Content

Global scope

files/en-us/glossary/global_scope/index.md

latest456 B
Original Source

In a programming environment, the global scope is the {{glossary("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.

See also