Acts as a placeholder for inserting JavaScript (and other languages) into the output, both at runtime or for other compile time components.
<core:script />
May not nest other tags or content (ENDTAG_FORBIDDEN).
Allows JavaScript to be inserted into the output, both at CompileTime and RunTime. The runtime API is provided by ?CoreScriptComponent.
It is your responsibility to make sure the <core:script> tag is placed correctly (in the <head />) of the template. It does not care.