Web / API / Document Document: defaultView property DOM no runnable cells web-api-instance-property upstream source DOM In browsers, document.defaultView returns the window object associated with a document, or null if none is available. This property is read-only. Value The window object. Specifications Browser compatibility