Skip to main content

HTMLScriptElement-1

HTMLScriptElement: {
(): HTMLScriptElement;
prototype: HTMLScriptElement;
supports: boolean;
};

Type Declaration

Returns

HTMLScriptElement

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.

MDN Reference

Parameters

ParameterType
typestring

Returns

boolean