HTMLScriptElement-1
HTMLScriptElement: {
(): HTMLScriptElement;
prototype: HTMLScriptElement;
supports: boolean;
};
Type Declaration
Returns
prototype
prototype: HTMLScriptElement;
supports()
supports(type): 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.
Parameters
| Parameter | Type |
|---|---|
type | string |
Returns
boolean