MCPcopy Create free account
hub / github.com/nodejs/node-addon-api / testFuncD

Function testFuncD

test/function_reference.js:67–70  ·  view source on GitHub ↗
(a, b, c, d)

Source from the content-addressed store, hash-verified

65 outsideRef.c = c;
66 };
67 const testFuncD = (a, b, c, d) => {
68 outsideRef.result = a + b * c - d;
69 return outsideRef.result;
70 };
71
72 assert(binding.CallWithVec(testFunc, 5, 4) === testFunc(5, 4));
73 assert(binding.CallWithInitList(testFuncB, 2, 4, 5) === testFuncB(2, 4, 5));

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected