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

Function testFors

deps/v8/test/mjsunit/undetectable.js:61–73  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

59}
60
61function testFors() {
62 for (var i = 0; obj; i++) {
63 shouldNotBeTaken();
64 }
65
66 var j = 0;
67 for (var i = 0; !obj; i++) {
68 j++;
69 break;
70 }
71
72 assertEquals(1, j);
73}
74
75function testCall() {
76 obj();

Callers 1

undetectable.jsFile · 0.85

Calls 2

shouldNotBeTakenFunction · 0.85
assertEqualsFunction · 0.50

Tested by

no test coverage detected