Atributo strictErrorChecking del documento HTML DOM

Definición y uso

No recomendado strictErrorChecking La propiedad. No utilícela.

strictErrorChecking La propiedad devuelve en todos los navegadores nuevos undefined.

Comentarios:strictErrorChecking La propiedad es una característica del nivel 3 del núcleo DOM (2004).

Debería controlar si el navegador debe lanzar excepciones de error por operaciones DOM.

Solución alternativa:

JavaScript "use strict"

Ejemplo

Devolver la configuración de errores DOM del documento:

document.strictErrorChecking;

Prueba personalmente

Sintaxis

Devolver strictErrorChecking:

document.strictErrorChecking

Establecer strictErrorChecking:

document.strictErrorChecking = true|false

Valor de retorno

Tipo Descripción
Valor booleano

Si se activa strictErrorChecking, es true.

En todos los nuevos navegadores devuelve undefined.