Home
last modified time | relevance | path

Searched refs:mathObject (Results 1 – 1 of 1) sorted by relevance

/arkcompiler/ets_runtime/ecmascript/builtins/
Dbuiltins.cpp1689 JSHandle<JSObject> mathObject = factory_->NewJSObjectWithInit(mathClass); in InitializeMath() local
1693 SetFunction(env, mathObject, entry.GetName(), entry.GetEntrypoint(), in InitializeMath()
1697 SetConstant(mathObject, entry.GetName(), entry.GetTaggedValue()); in InitializeMath()
1702 …PropertyDescriptor mathDesc(thread_, JSHandle<JSTaggedValue>::Cast(mathObject), true, false, true); in InitializeMath()
1705 SetStringTagSymbol(env, mathObject, "Math"); in InitializeMath()
1706 env->SetMathFunction(thread_, mathObject); in InitializeMath()