tor-browser

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

testApplyAtJoinPoint.js (191B)


      1 var isTrue = true;
      2 
      3 function g(x) {
      4    return x;
      5 }
      6 
      7 function f() {
      8    return g.apply(null, isTrue ? ["happy"] : arguments);
      9 }
     10 
     11 for (var i = 0; i < 18; ++i)
     12    assertEq(f("sad"), "happy");