MCPcopy Create free account
hub / github.com/codemix/htmling / extractList

Function extractList

lib/parser.js:7758–7766  ·  view source on GitHub ↗
(list, index)

Source from the content-addressed store, hash-verified

7756 }
7757
7758 function extractList(list, index) {
7759 var result = new Array(list.length), i;
7760
7761 for (i = 0; i < list.length; i++) {
7762 result[i] = list[i][index];
7763 }
7764
7765 return result;
7766 }
7767
7768 function buildList(first, rest, index) {
7769 return [first].concat(extractList(rest, index));

Callers 7

peg$c62Function · 0.85
peg$c181Function · 0.85
peg$c186Function · 0.85
peg$c228Function · 0.85
peg$c229Function · 0.85
peg$c234Function · 0.85
buildListFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…