Document: defaultView プロパティ
Baseline
Widely available
This feature is well established and works across many devices and browser versions. It’s been available across browsers since 2015年7月.
ブラウザーにおいて、document.defaultView
はドキュメントに関連付けられている window
オブジェクトを返します。もし存在しない場合は null
を返します。
このプロパティは読み取り専用です。