MCPcopy Index your code
hub / github.com/nodejs/node / dumpItems

Function dumpItems

deps/v8/test/inspector/protocol-test.js:96–103  ·  view source on GitHub ↗
(object, prefix, firstLinePrefix)

Source from the content-addressed store, hash-verified

94 }
95
96 function dumpItems(object, prefix, firstLinePrefix) {
97 prefix = prefix || "";
98 firstLinePrefix = firstLinePrefix || prefix;
99 lines.push(firstLinePrefix + "[");
100 for (var i = 0; i < object.length; ++i)
101 dumpValue(object[i], " " + prefix, " " + prefix + "[" + i + "] : ");
102 lines.push(prefix + "]");
103 }
104
105 dumpValue(object, "", title || "");
106 InspectorTest.log(lines.join("\n"));

Callers 1

dumpValueFunction · 0.85

Calls 2

dumpValueFunction · 0.85
pushMethod · 0.45

Tested by

no test coverage detected