diff --git a/crates/js/src/heap.rs b/crates/js/src/heap.rs index b7b0dd4a63..64f16c12a2 100644 --- a/crates/js/src/heap.rs +++ b/crates/js/src/heap.rs @@ -337,13 +337,9 @@ impl Class { Class::XmlFilter(_) => "Object", Class::Math => "Math", Class::Json => "JSON", - Class::Ordinary - | Class::ForIn(_) - | Class::Host(_) - | Class::FsEntry(_) - | Class::Symbol(_) - | Class::Iterator(_) - | Class::IterRecord(_) => "Object", + Class::Ordinary | Class::ForIn(_) | Class::Host(_) | Class::FsEntry(_) | Class::Symbol(_) | Class::Iterator(_) | Class::IterRecord(_) => { + "Object" + } Class::Array { .. } => "Array", Class::Function(_) => "Function", Class::Error(_) => "Error",