Tuesday, December 13, 2022

PrepareForOrdinaryCall

PrepareForOrdinaryCall( F, newTarget )

PrepareForOrdinaryCall( F, newTarget ) where F is a function object and newTarget is Undefined or Object:

  1. let calleeContext be a new code execution context as:
  2. Push calleeContext onto the execution context stack; suspending the old while making calleeContext the running context
  3. return calleeContext

No comments:

Post a Comment