Lines Matching defs:mapfn
155 // 22.1.2.1 Array.from ( items [ , mapfn [ , thisArg ] ] )
166 // 2. If mapfn is undefined, let mapping be false.
169 // a. If IsCallable(mapfn) is false, throw a TypeError exception.
173 JSHandle<JSTaggedValue> mapfn = GetCallArg(argv, 1);
174 if (!mapfn->IsUndefined()) {
175 if (!mapfn->IsCallable()) {
176 THROW_TYPE_ERROR_AND_RETURN(thread, "the mapfn is not callable.", JSTaggedValue::Exception());
254 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength);
292 // 1. Let mappedValue be Call(mapfn, T, «nextValue, k»).
299 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength);
358 // i. Let mappedValue be Call(mapfn, T, «kValue, k»).
371 EcmaInterpreter::NewRuntimeCallInfo(thread, mapfn, thisArgHandle, undefined, argsLength);