summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Libraries/LibJS/AST.cpp1
1 files changed, 1 insertions, 0 deletions
diff --git a/Libraries/LibJS/AST.cpp b/Libraries/LibJS/AST.cpp
index 942542bd0a..1d440fcf17 100644
--- a/Libraries/LibJS/AST.cpp
+++ b/Libraries/LibJS/AST.cpp
@@ -930,6 +930,7 @@ void ClassDeclaration::dump(int indent) const
void ClassExpression::dump(int indent) const
{
print_indent(indent);
+ ASSERT(m_name.characters());
printf("ClassExpression: \"%s\"\n", m_name.characters());
print_indent(indent);