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