Document.defaultView在瀏覽器中,document.defaultView 屬性會指向一個目前 document 所屬的 window 物件,若無則為 null。語法var win = document.defaultView; 此為唯讀屬性。規範SpecificationHTML Standard # dom-document-defaultview-dev瀏覽器相容性BCD tables only load in the browser with JavaScript enabled. Enable JavaScript to view data.