Please note, this is a STATIC archive of website developer.mozilla.org from 03 Nov 2016, cach3.com does not collect or store any user information, there is no "phishing" involved.

Relawan kami belum menerjemahkan artikel ini ke dalam Bahasa Indonesia . Bergabunglah dan bantu kami menyelesaikan pekerjaan ini!

In browsers, document.defaultView returns the window object associated with a document, or null if none is available.

Syntax

var win = document.defaultView;

This property is read-only.

Specifications

Specification Status Comment
WHATWG HTML Living Standard
The definition of 'Document.defaultView' in that specification.
Living Standard No change
HTML5
The definition of 'Document.defaultView' in that specification.
Recommendation Initial definition

Browser compatibility

Feature Firefox (Gecko) Chrome Internet Explorer Edge Opera Safari
Basic support (Yes) (Yes) 9.0 0.10 (Yes) (Yes)
Feature Firefox Mobile (Gecko) Android IE Mobile Opera Mobile Safari Mobile
Basic support ? ? ? ? ?

Tag Dokumen dan Kontributor

 Terakhir diperbarui oleh: Sebastianz,