diff options
Diffstat (limited to 'Libraries/LibJS/Runtime/ReflectObject.cpp')
-rw-r--r-- | Libraries/LibJS/Runtime/ReflectObject.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/Libraries/LibJS/Runtime/ReflectObject.cpp b/Libraries/LibJS/Runtime/ReflectObject.cpp index 2a10fce38e..c81ba0fea2 100644 --- a/Libraries/LibJS/Runtime/ReflectObject.cpp +++ b/Libraries/LibJS/Runtime/ReflectObject.cpp @@ -189,7 +189,7 @@ Value ReflectObject::get_own_property_descriptor(Interpreter& interpreter) auto property_key = interpreter.argument(1).to_string(interpreter); if (interpreter.exception()) return {}; - return target->get_own_property_descriptor(property_key); + return target->get_own_property_descriptor_object(property_key); } Value ReflectObject::get_prototype_of(Interpreter& interpreter) |