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

Method concat

deps/v8/tools/consarray.mjs:52–57  ·  view source on GitHub ↗

* Concatenates another array for iterating. Empty arrays are ignored. * This operation can be safely performed during ongoing ConsArray * iteration. * * @param {Array} arr Array to concatenate.

(arr)

Source from the content-addressed store, hash-verified

50 * @param {Array} arr Array to concatenate.
51 */
52 concat(arr) {
53 if (arr.length > 0) {
54 this.tail_.data = arr;
55 this.tail_ = this.tail_.next = new ConsArrayCell(null, null);
56 }
57 }
58
59 /**
60 * Whether the end of iteration is reached.

Callers 15

traverseMethod · 0.95
checkFilesFunction · 0.80
crypto-check.jsFile · 0.80
update-c-ares.mjsFile · 0.80
url.jsFile · 0.80
zlibBufferOnEndFunction · 0.80
processChunkSyncFunction · 0.80
exithandlerFunction · 0.80
readFileSyncFunction · 0.80
serializeErrorFunction · 0.80
encodeFrameHybi17Function · 0.80

Calls

no outgoing calls

Tested by 3

testFunction · 0.64
testFunction · 0.64
testFunction · 0.64