Searched refs:throwTypeErrorFunction (Results 1 – 1 of 1) sorted by relevance
1294 JSHandle<JSFunction> throwTypeErrorFunction = in InitializeError() local1296 JSFunction::SetFunctionLength(thread_, throwTypeErrorFunction, JSTaggedValue(1), false); in InitializeError()1297 JSObject::PreventExtensions(thread_, JSHandle<JSObject>::Cast(throwTypeErrorFunction)); in InitializeError()1298 env->SetThrowTypeError(thread_, throwTypeErrorFunction); in InitializeError()