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

Function sum

deps/v8/test/mjsunit/array-reduce.js:102–102  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

100
101
102function sum(a, b) { return a + b; }
103function prod(a, b) { return a * b; }
104function dec(a, b, i, arr) { return a + b * Math.pow(10, arr.length - i - 1); }
105function accumulate(acc, elem, i) { acc[i] = elem; return acc; }

Callers 15

unionFunction · 0.50
_CommonChecksFunction · 0.50
coexistFunction · 0.50
prepareMethod · 0.50
GeometricMeanFunction · 0.50
MeanMethod · 0.50
avgMethod · 0.50
evaluateFunction · 0.50
evaluate_wasm2jsFunction · 0.50
_CommonChecksFunction · 0.50
testExperimentsMethod · 0.50

Calls

no outgoing calls

Tested by 2

testExperimentsMethod · 0.40
_testMethod · 0.40