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

Function testIsOdd

test/parallel/test-debug-v8-fast-api.js:31–35  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

29}
30
31function testIsOdd() {
32 for (let i = 0; i < 20; i++) {
33 assert.strictEqual(isOdd(i), i % 2 !== 0);
34 }
35}
36
37// Should return 0 by default for any string.
38assert.strictEqual(getV8FastApiCallCount(''), 0);

Callers 1

Calls

no outgoing calls

Tested by

no test coverage detected

Used in the wild real call sites across dependent graphs

searching dependent graphs…