HTMLScriptElement: {
    prototype: HTMLScriptElement;
    supports(type: string): boolean;
    new (): HTMLScriptElement;
}

Type Declaration

  • prototype: HTMLScriptElement
  • supports: function
    • 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

      • type: string

      Returns boolean