diff --git a/Userland/Libraries/LibJS/Runtime/Value.cpp b/Userland/Libraries/LibJS/Runtime/Value.cpp index 8e72542977..2ee2579f76 100644 --- a/Userland/Libraries/LibJS/Runtime/Value.cpp +++ b/Userland/Libraries/LibJS/Runtime/Value.cpp @@ -395,11 +395,6 @@ ErrorOr Value::to_string_without_side_effects() const } } -DeprecatedString Value::to_deprecated_string_without_side_effects() const -{ - return MUST(to_string_without_side_effects()).to_deprecated_string(); -} - ThrowCompletionOr Value::to_primitive_string(VM& vm) { if (is_string()) diff --git a/Userland/Libraries/LibJS/Runtime/Value.h b/Userland/Libraries/LibJS/Runtime/Value.h index 9dc2daeeb2..2f3cf2d11c 100644 --- a/Userland/Libraries/LibJS/Runtime/Value.h +++ b/Userland/Libraries/LibJS/Runtime/Value.h @@ -395,7 +395,6 @@ public: ThrowCompletionOr get_method(VM&, PropertyKey const&) const; ErrorOr to_string_without_side_effects() const; - DeprecatedString to_deprecated_string_without_side_effects() const; Value value_or(Value fallback) const {