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
Document Tags and Contributors
    
    Tags: 
    
  
                    
                       Contributors to this page: 
        chrisdavidmills, 
        lpiot, 
        Andrew_Pfeiffer, 
        Jeremie, 
        klez, 
        kscarfone, 
        panaggio
                    
                    
                       Last updated by:
                      chrisdavidmills,