mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 08:36:15 +00:00
LibJS: to_string_without_side_effects() should handle NativeProperty
This commit is contained in:
@@ -125,6 +125,8 @@ String Value::to_string_without_side_effects() const
|
||||
return String::format("[object %s]", as_object().class_name());
|
||||
case Type::Accessor:
|
||||
return "<accessor>";
|
||||
case Type::NativeProperty:
|
||||
return "<native-property>";
|
||||
default:
|
||||
ASSERT_NOT_REACHED();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user