Lines Matching defs:thisArg
113 // ecma 19.2.3.1 Function.prototype.apply (thisArg, argArray)
122 JSHandle<JSTaggedValue> thisArg = GetCallArg(argv, 0);
124 return FunctionPrototypeApplyInternal(thread, func, thisArg, arrayObj);
128 JSHandle<JSTaggedValue> thisArg,
140 // a. Return Call(func, thisArg).
141 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, 0);
153 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, argsLength);
158 // 6. Return Call(func, thisArg, argList).
160 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, argsLength);
166 // ecma 19.2.3.2 Function.prototype.bind (thisArg , ...args)
178 JSHandle<JSTaggedValue> thisArg = GetCallArg(argv, 0);
185 // values provided after thisArg in order.
191 return FunctionPrototypeBindInternal(thread, target, thisArg, argsArray);
195 JSHandle<JSTaggedValue> thisArg,
206 // 4. Let F be BoundFunctionCreate(Target, thisArg, args).
207 JSHandle<JSBoundFunction> boundFunction = factory->NewJSBoundFunction(target, thisArg, argsArray);
246 // argv include thisArg
308 // ecma 19.2.3.3 Function.prototype.call (thisArg , ...args)
322 JSHandle<JSTaggedValue> thisArg = GetCallArg(argv, 0);
330 // 5. Return Call(func, thisArg, argList).
332 EcmaRuntimeCallInfo *info = EcmaInterpreter::NewRuntimeCallInfo(thread, func, thisArg, undefined, argsLength);