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

Method exportChildren

deps/v8/tools/profile.mjs:1201–1205  ·  view source on GitHub ↗

* Returns all node's children as an array.

()

Source from the content-addressed store, hash-verified

1199 * Returns all node's children as an array.
1200 */
1201 exportChildren() {
1202 const result = [];
1203 this.forEachChild(function (node) { result.push(node); });
1204 return result;
1205 }
1206
1207 /**
1208 * Finds an immediate child with the specified label.

Callers 1

profile.mjsFile · 0.80

Calls 2

forEachChildMethod · 0.95
pushMethod · 0.45

Tested by

no test coverage detected