Home
last modified time | relevance | path

Searched refs:ownKeys (Results 1 - 4 of 4) sorted by relevance

/arkcompiler/ets_runtime/test/moduletest/builtins/
H A Dbuiltinsobjectaddproperty.js37 print(Reflect.ownKeys(object).length);
/arkcompiler/ets_runtime/ecmascript/builtins/
H A Dbuiltins_object.cpp406 // 3. Let ownKeys be ? obj.[[OwnPropertyKeys]](). in GetOwnPropertyDescriptors()
407 JSHandle<TaggedArray> ownKeys = in GetOwnPropertyDescriptors() local
410 // 4.ReturnIfAbrupt(ownKeys). in GetOwnPropertyDescriptors()
419 // 6.For each element key of ownKeys, do in GetOwnPropertyDescriptors()
423 uint32_t length = ownKeys->GetLength(); in GetOwnPropertyDescriptors()
426 handleKey.Update(ownKeys->Get(i)); in GetOwnPropertyDescriptors()
/arkcompiler/ets_runtime/ecmascript/
H A Djs_proxy.cpp725 // 5.Let trap be GetMethod(handler, "ownKeys"). in OwnPropertyKeys()
891 JSHandle<TaggedArray> ownKeys = JSTaggedValue::GetOwnPropertyKeys(thread, targetHandle); in GetAllPropertyKeys() local
895 uint32_t ownKeysLength = ownKeys->GetLength(); in GetAllPropertyKeys()
904 if (!ownKeys->Get(index).IsSymbol()) { in GetAllPropertyKeys()
H A Djs_object.cpp2050 // 2. Let ownKeys be ? O.[[OwnPropertyKeys]](). in EnumerableOwnPropertyNames()
2074 JSHandle<TaggedArray> ownKeys = JSTaggedValue::GetOwnPropertyKeys(thread, tagObj); in EnumerableOwnPropertyNames() local
2078 uint32_t length = ownKeys->GetLength(); in EnumerableOwnPropertyNames()
2081 // 4. For each element key of ownKeys, do in EnumerableOwnPropertyNames()
2096 key.Update(ownKeys->Get(thread, i)); in EnumerableOwnPropertyNames()

Completed in 11 milliseconds