Document: defaultView property
MDN Web Docs · نسخهٔ df622a2a1c1e · CC BY-SA 2.5 و مجوز جداگانهٔ ناشر برای نمونهکد
{{APIRef("DOM")}}
In browsers, **document.defaultView** returns the {{domxref("Window", "window")}} object associated with {{Glossary("Browsing_context", "a document")}}, or null if none is available.
This property is read-only.
Value
The {{domxref("Window", "window")}} object.
Specifications
{{Specifications}}
Browser compatibility
{{Compat}}