Document()

Document 생성자는 브라우저에 로드되고 페이지 컨텐츠로의 진입점으로써 제공되는 웹 페이지인 새로운 Document 객체를 생성합니다.

구문

var document = new Document();

파라미터

없음.

명세

명세 상태 코멘트
DOM
The definition of 'Document' in that specification.
Living Standard 초기 정의.

브라우저 호환성

Update compatibility data on GitHub
DesktopMobile
ChromeEdgeFirefoxInternet ExplorerOperaSafariAndroid webviewChrome for AndroidFirefox for AndroidOpera for AndroidSafari on iOSSamsung Internet
Document() constructorChrome Full support 60Edge Full support YesFirefox Full support YesIE No support NoOpera Full support 47Safari Full support YesWebView Android Full support 60Chrome Android Full support 60Firefox Android Full support YesOpera Android Full support 44Safari iOS Full support YesSamsung Internet Android ?

Legend

Full support  
Full support
No support  
No support
Compatibility unknown  
Compatibility unknown