Type attribute in script element
The
typeattribute gives the language of the script or format of the data. If the attribute is present, its value must be a valid MIME type. Thecharsetparameter must not be specified. The default, which is used if the attribute is absent, is"text/javascript"
To resolve a question in the HTML5 Boilerplate repo. Important to note is that the details provided on w3schools misleads that the type attribute is required.