I stumbled upon something people choose to call Prologue Directives. More commonly known with the "use strict"; string literal in JavaScript. Which i already know all about. But the common denominator Prologue Directive. What it is? There's very little documentation available on this subject. Best one is the question i linked.
ECMAScript multiple Prologue Directives
My questions are generic:
What are they?
What can they be used for?
Who uses them and why?
Can i make them?
Should i?
No need for documentation. Just look in the source.
In other words, Directive Prologue is the longest sequence of string literal + semicolon at the exact start of function or program (top-level code):
or:
or:
Notice that as soon as the string literal is not the first statement, it's no longer a Directive Prologue:
or: