mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-29 04:09:13 +00:00
LibJS: Renamed Object::GetOwnPropertyReturnMode to Object::PropertyKind
This enum will be used by iterators, so it makes sense to use a more general name.
This commit is contained in:
parent
e650be98a1
commit
51bfc6c6b3
Notes:
sideshowbarker
2024-07-19 04:56:45 +09:00
Author: https://github.com/mattco98
Commit: 51bfc6c6b3
Pull-request: https://github.com/SerenityOS/serenity/pull/2751
Reviewed-by: https://github.com/linusg ✅
5 changed files with 14 additions and 14 deletions
|
@ -233,7 +233,7 @@ JS_DEFINE_NATIVE_FUNCTION(ReflectObject::own_keys)
|
|||
auto* target = get_target_object_from(interpreter, "ownKeys");
|
||||
if (!target)
|
||||
return {};
|
||||
return target->get_own_properties(*target, GetOwnPropertyReturnMode::Key);
|
||||
return target->get_own_properties(*target, PropertyKind::Key);
|
||||
}
|
||||
|
||||
JS_DEFINE_NATIVE_FUNCTION(ReflectObject::prevent_extensions)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue