Hello, as I understand it, the initialization of the execution context for the global scope of a script is defined in ES2019 by Section 8.6 RunJobs ( ). https://www.ecma-international.org/ecma-262/10.0/index.html#sec-runjobs
The "RunJobs" operation then performs the following:
Perform EnqueueJob(
"ScriptJobs"
, ScriptEvaluationJob, « sourceText, hostDefined »).
Now, upon reading the ES2020 version of the Spec, I have realized that Section 8.6 RunJobs ( ) as well as Section 15.1.12 Runtime Semantics: ScriptEvaluationJob both have been removed. As such, it seems to me that ES2020 does not provide any direct instructions for the setup of the first execution context (for the global scope) at the start of execution of a given "Script".
Can somebody please tell me why the above mentioned sections have been removed in ES2020 or perhaps where instructions analogous to those missing can be found in ES2020?
Thank you, I would be very grateful!