Lines Matching defs:mapfn
98 // 22.1.2.1 Array.from ( items [ , mapfn [ , thisArg ] ] )
108 // 2. If mapfn is undefined, let mapping be false.
111 // a. If IsCallable(mapfn) is false, throw a TypeError exception.
115 JSHandle<JSTaggedValue> mapfn = GetCallArg(argv, 1);
116 if (!mapfn->IsUndefined()) {
117 if (!mapfn->IsCallable()) {
118 THROW_TYPE_ERROR_AND_RETURN(thread, "the mapfn is not callable.", JSTaggedValue::Exception());
206 // 1. Let mappedValue be Call(mapfn, T, «nextValue, k»).
213 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength);
273 // i. Let mappedValue be Call(mapfn, T, «kValue, k»).
286 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength);