HTML DOM Document strictErrorChecking property

Definition and usage

Not recommended strictErrorChecking The property. Do not use it.

strictErrorChecking The property returns in all new browsers undefined

Note:strictErrorChecking The property is a DOM Core Level 3 (2004) feature.

It should control whether the browser should throw error exceptions for DOM operations.

Alternative:

JavaScript "use strict"

Example

return the document's DOM error settings:

document.strictErrorChecking;

try it yourself

Grammar

return strictErrorChecking:

document.strictErrorChecking

set strictErrorChecking:

document.strictErrorChecking = true|false

بازگشت

نوع وصف
بولین وار

اگر strictErrorChecking چالو ہوا تو true ہوتا ہے。

تمام نئے براوزر میں undefined واپس آتا ہے。