diff --git a/src/objects.cc b/src/objects.cc index 72fecad05a..2623836c5a 100644 --- a/src/objects.cc +++ b/src/objects.cc @@ -11631,9 +11631,12 @@ MaybeHandle JSArray::SetElementsLength( SLOPPY).Assert(); } - SetProperty(deleted, isolate->factory()->length_string(), - isolate->factory()->NewNumberFromUint(delete_count), - STRICT).Assert(); + RETURN_ON_EXCEPTION( + isolate, + SetProperty(deleted, isolate->factory()->length_string(), + isolate->factory()->NewNumberFromUint(delete_count), + STRICT), + Object); } RETURN_ON_EXCEPTION(