With scripting, you can evaluate custom expressions in Elasticsearch. For example, you could use a script to return "script fields" as part of a search request or evaluate a custom score for a query. The default scripting language is Painless. Additional lang plugins enable …
Inline scripts - ServiceNow
The SCRIPT tag is included only to ensure upward compatibility. Newer versions of HTML will include support for inline scripts, which should be contained in this tag. The tag should contain a valid script. Note that current browsers are only required to hide the contents of the SCRIPT tag, it does not have to use the information contained therein.