emptyScript property

TrustedScript get emptyScript

The emptyScript read-only property of the TrustedTypePolicyFactory interface returns a TrustedScript object containing an empty string.

This object can be used when the application requires an empty string to be inserted into an injection sink which is expecting a TrustedScript object.

Implementation

external TrustedScript get emptyScript;