Skip to content Skip to sidebar Skip to footer

Why Is An Execution Context Not Created Here?

Writing the following will result in the evaluation of the Function constructor function, resulting in the presence of a property on the global object pointing to a function-object

Solution 1:

Answering my own question, based on the long comment list above.

No execution context is created because execution contexts are only meaningful for user-defined code. For the internal operation of a JavaScript engine, such as the precise mechanism for the creation of the function-object Foo in the code in the question, are left to engine implementers.

Post a Comment for "Why Is An Execution Context Not Created Here?"