Web Inspector: Array/Collection Sizes should be visible and distinct
[WebKit-https.git] / Source / WebInspectorUI / UserInterface / Views / ObjectTreePropertyTreeElement.js
index 2e61d15..98fffee 100644 (file)
@@ -375,7 +375,7 @@ WebInspector.ObjectTreePropertyTreeElement.prototype = {
         if (value.subtype === "regexp")
             return "RegExp";
 
-        return value.description.replace(/\[\d+\]$/, "").replace(/Prototype$/, "");
+        return value.description.replace(/Prototype$/, "");
     },
 
     _propertyPathString: function(propertyPath)