diff --git a/Userland/Libraries/LibJS/AST.cpp b/Userland/Libraries/LibJS/AST.cpp index 571d7b83c1..46ec07153d 100644 --- a/Userland/Libraries/LibJS/AST.cpp +++ b/Userland/Libraries/LibJS/AST.cpp @@ -1374,7 +1374,7 @@ void CatchClause::dump(int indent) const print_indent(indent); m_parameter.visit( [&](DeprecatedFlyString const& parameter) { - if (parameter.is_null()) + if (parameter.is_empty()) outln("CatchClause"); else outln("CatchClause ({})", parameter);