HTML DOM Document strictErrorChecking 속성

정의와 사용법

권장하지 않습니다 strictErrorChecking 속성. 사용하지 마세요.

strictErrorChecking 속성은 모든 새로운 브라우저에서 반환됩니다 undefined.

주석:strictErrorChecking 속성은 DOM Core Level 3 (2004) 기능입니다.

그것은 브라우저가 DOM 작업에 대한 오류 예외를 표출해야 하는지 여부를 제어해야 합니다.

대체 방법:

JavaScript "use strict"

예제

문서의 DOM 오류 설정 반환:

document.strictErrorChecking;

직접 시도해 보세요

문법

strictErrorChecking 반환:

document.strictErrorChecking

strictErrorChecking 설정:

document.strictErrorChecking = true|false

반환 값

타입 설명
부울 값

strictErrorChecking가 활성화되어 있으면 true입니다.

모든 새로운 브라우저에서 undefined를 반환합니다.