Index: src/objects.cc |
diff --git a/src/objects.cc b/src/objects.cc |
index 4359f1738577a0fc8c449d8efecaafdbe16f4bdd..af80ce2c977ecec8238ab0dce82000fcf4b6296f 100644 |
--- a/src/objects.cc |
+++ b/src/objects.cc |
@@ -15274,7 +15274,7 @@ bool Dictionary<Derived, Shape, Key>::HasComplexElements() { |
if (details.IsDeleted()) continue; |
if (details.type() == CALLBACKS) return true; |
PropertyAttributes attr = details.attributes(); |
- if (attr & (READ_ONLY | DONT_DELETE)) return true; |
+ if (attr & (READ_ONLY | DONT_DELETE | DONT_ENUM)) return true; |
} |
} |
return false; |