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

Function zipWith

test/fixtures/snapshot/typescript.js:438–445  ·  view source on GitHub ↗
(arrayA, arrayB, callback)

Source from the content-addressed store, hash-verified

436 }
437 ts.reduceLeftIterator = reduceLeftIterator;
438 function zipWith(arrayA, arrayB, callback) {
439 var result = [];
440 ts.Debug.assertEqual(arrayA.length, arrayB.length);
441 for (var i = 0; i < arrayA.length; i++) {
442 result.push(callback(arrayA[i], arrayB[i], i));
443 }
444 return result;
445 }
446 ts.zipWith = zipWith;
447 function zipToIterator(arrayA, arrayB) {
448 ts.Debug.assertEqual(arrayA.length, arrayB.length);

Callers

nothing calls this directly

Calls 2

callbackFunction · 0.70
pushMethod · 0.45

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…