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

Function method

test/parallel/test-runner-mocking.js:221–223  ·  view source on GitHub ↗
(a, b)

Source from the content-addressed store, hash-verified

219 const obj = {
220 prop: 5,
221 method(a, b) {
222 return a + b + this.prop;
223 },
224 };
225
226 assert.strictEqual(obj.method(1, 3), 9);

Callers 9

test-assert.jsFile · 0.70
rsaFunctionForFunction · 0.50
wrapIdSetterFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
mainFunction · 0.50
benchmarkFunction · 0.50
benchmarkFunction · 0.50

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…