diff --git a/Libraries/LibJS/Runtime/Value.h b/Libraries/LibJS/Runtime/Value.h index 687966a9791..91795c86199 100644 --- a/Libraries/LibJS/Runtime/Value.h +++ b/Libraries/LibJS/Runtime/Value.h @@ -379,15 +379,6 @@ public: [[nodiscard]] String to_string_without_side_effects() const; -#if 0 - Value value_or(Value fallback) const - { - if (is_special_empty_value()) - return fallback; - return *this; - } -#endif - [[nodiscard]] GC::Ref typeof_(VM&) const; bool operator==(Value const&) const;