MCPcopy Create free account
hub / github.com/nodejs/node / testWhiles

Function testWhiles

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

Source from the content-addressed store, hash-verified

45}
46
47function testWhiles() {
48 while (obj) {
49 shouldNotBeTaken();
50 }
51
52 var i = 0;
53 while (!obj) {
54 i++;
55 break;
56 }
57
58 assertEquals(1, i);
59}
60
61function testFors() {
62 for (var i = 0; obj; i++) {

Callers 1

undetectable.jsFile · 0.85

Calls 2

shouldNotBeTakenFunction · 0.85
assertEqualsFunction · 0.50

Tested by

no test coverage detected