tor-browser

The Tor Browser
git clone https://git.dasho.dev/tor-browser.git
Log | Files | Refs | README | LICENSE

testBug582766.js (346B)


      1 expected = 4;
      2 
      3 var fourth = { nextSibling: null };
      4 var third  = { nextSibling: fourth };
      5 var second = { nextSibling: third };
      6 var first  = { nextSibling: second };
      7 
      8 function f() {
      9  let loopcount = 0;
     10  for (let node = first; node; node = node.nextSibling) {
     11    loopcount++;
     12  }
     13  return loopcount;
     14 }
     15 
     16 actual = f();
     17 
     18 assertEq(actual, expected);