diff --git a/Userland/Libraries/LibJS/Runtime/Object.cpp b/Userland/Libraries/LibJS/Runtime/Object.cpp index d89bfc4200..83a7ebe830 100644 --- a/Userland/Libraries/LibJS/Runtime/Object.cpp +++ b/Userland/Libraries/LibJS/Runtime/Object.cpp @@ -19,6 +19,7 @@ #include #include #include +#include #include namespace JS { @@ -789,6 +790,7 @@ Value Object::get(const PropertyName& property_name, Value receiver, bool withou Value Object::get_without_side_effects(const PropertyName& property_name) const { + TemporaryClearException clear_exception(vm()); return get(property_name, {}, true); }