Variable HTMLScriptElement
HTMLScriptElement: {
prototype: HTMLScriptElement;
supports(type: string): boolean;
new (): HTMLScriptElement;
}
prototype: HTMLScriptElement;
supports(type: string): boolean;
new (): HTMLScriptElement;
}
Type Declaration
- new (): HTMLScriptElement
Returns HTMLScriptElement
prototype: HTMLScriptElement
supports: function
Parameters
- type: string
Returns boolean
The
supports()static method of the HTMLScriptElement interface provides a simple and consistent method to feature-detect what types of scripts are supported by the user agent.MDN Reference