PrepareForOrdinaryCall( F, newTarget ) where F is a function object and newTarget is Undefined or Object:
- let calleeContext be a new code execution context as:
- .LexicalEnvironment = .VariableEnvironment = NewFunctionEnvironment(F, newTarget)
- .Function = F
- .ScriptOrModule = F.[[ScriptOrModule]]
- .Realm = F.[[Realm]]
- Push calleeContext onto the execution context stack; suspending the old while making calleeContext the running context
- return calleeContext
No comments:
Post a Comment