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

document environment

When the JavaScript global environment is a window or an iframe, it is called a document environment.A global environment is an environment that doesn't have an outer environment.

Learn More

Technical reference

Document Tags and Contributors

 Contributors to this page: Saltfish, klez, jsx
 Last updated by: Saltfish,