MDN’s new design is in Beta! A sneak peek:

A global variable is a  variable that is declared in the global scope in other words, a variable that is visible from all other scopes.

In JavaScript it is a property of the global object.

Learn more

General knowledge

Document Tags and Contributors

 Contributors to this page: Jeremie, klez, Andrew_Pfeiffer, kscarfone, panaggio
 Last updated by: Jeremie,