settings_applicationsEventTarget > settings_applicationsNode > settings_applicationsDocumentType > settings_applications[[Prototype]]
표준은 아니지만 웹개발자를 위하여 거의 표준처럼 사용된다.
현재 DocumentType 객체의 부모의 자식 목록에서 DocumentType 바로 앞에 지정된 Node 객체 또는 문자열(동등한 Text 노드) 세트를 삽입한다.
DocumentType
Node
Text
documentType.before(node[, ...[, nodeN]])
삽입할 Node 객체 또는 문자열 세트를 하나 이상 지정한다.
지정된 위치에 노드를 삽입할 수 없는 경우에 HierarchyRequestError DOMException 예외가 발생한다.
HierarchyRequestError
DOMException
DOM API의 메소드를 호출하거나 프로퍼티에 접근한 결과 발생하는 비정상적인 이벤트(예외)를 나타낸다.