Window.document

window.document 속성은 창이 포함한 문서의 참조를 반환합니다.

예제

console.log(window.document.title);

명세

Specification Status Comment
HTML Living Standard
The definition of 'Window.document' in that specification.
Living Standard
HTML5
The definition of 'Window.document' in that specification.
Recommendation

브라우저 호환성

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
documentChrome Full support YesEdge Full support 12Firefox Full support YesIE Full support YesOpera Full support YesSafari Full support YesWebView Android Full support YesChrome Android Full support YesFirefox Android Full support YesOpera Android Full support YesSafari iOS Full support YesSamsung Internet Android Full support Yes

Legend

Full support  
Full support