5.1 JavaScript Execution Environment
- The JavaScript
Window object represents the window in which the browser displays documents
- The
Window object provides the largest enclosing referencing environment for scripts
- All global variables are properties of
Window
- Implicitly defined
Window properties:
document - a reference to the Document object that the window displays
frames - an array of references to the frames of the document
- Every
Document object has:
forms - an array of references to the forms of the document
- Each
Form object has an elements array, which has references to the form's elements