?
u
/
p
1-9
The host-defined abstract operation HostGetCodeForEval takes argument argument (an Object) and returns a String or
argument represents the Object to be checked for code.
The default implementation of HostGetCodeForEval is to return
The host-defined abstract operation HostEnsureCanCompileStrings takes arguments calleeRealm (a Realm Record), parameterStrings (a List of Strings), bodyString (a String), direct (a Boolean), codeString (a String), compilationType (
parameterStrings represents the strings that, when using one of the function constructors, will be concatenated together to build the parameters list.
bodyString represents the function body or the string passed to an eval
call.
direct signifies whether the evaluation is a direct eval.
codeString represents the string that will be compiled.
compilationType is an enum that indicates what type of compilation this is.
parameterArgs are the values passed as the leading parameters to one of the Function constructors.
bodyArg is either the final parameter passed to one of the Function constructors or the value passed to an eval
call.
The default implementation of HostEnsureCanCompileStrings is to return NormalCompletion(
The abstract operation PerformEval takes arguments x (an ECMAScript language value), strictCaller (a Boolean), and direct (
eval
and of the eval
function itself.The abstract operation CreateDynamicFunction takes arguments constructor (a constructor), newTarget (a constructor), kind (new
was initially applied to. parameterArgs and bodyArg reflect the argument values that were passed to constructor. It performs the following steps when called:
CreateDynamicFunction defines a