MCPcopy Index your code
hub / github.com/node-inspector/node-inspector / appendUndefined

Function appendUndefined

front-end/console/ConsoleViewMessage.js:754–760  ·  view source on GitHub ↗
(elem, index)

Source from the content-addressed store, hash-verified

752 var lastNonEmptyIndex = -1;
753
754 function appendUndefined(elem, index)
755 {
756 if (index - lastNonEmptyIndex <= 1)
757 return;
758 var span = elem.createChild("span", "console-formatted-undefined");
759 span.textContent = WebInspector.UIString("undefined × %d", index - lastNonEmptyIndex - 1);
760 }
761
762 var length = array.arrayLength();
763 for (var i = 0; i < length; ++i) {

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…