Index: src/inspector/injected-script-source.js |
diff --git a/src/inspector/injected-script-source.js b/src/inspector/injected-script-source.js |
index a83b10926a268d096f926ec696a3275236ae8e15..39c6c9c1e84b0d461a415ab5f9a6d6ec2588f1a2 100644 |
--- a/src/inspector/injected-script-source.js |
+++ b/src/inspector/injected-script-source.js |
@@ -629,13 +629,7 @@ |
var className = InjectedScriptHost.internalConstructorName(obj); |
if (subtype === "array" || subtype === "typedarray") { |
if (typeof obj.length === "number") |
- return className + "(" + obj.length + ")"; |
- return className; |
- } |
- |
- if (subtype === "map" || subtype === "set") { |
- if (typeof obj.size === "number") |
- return className + "(" + obj.size + ")"; |
+ className += "[" + obj.length + "]"; |
return className; |
} |