tor-browser

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

bug1687661.js (176B)


      1 function f(x,y) {
      2    return Math.trunc(+(y ? x : y) || ~y);
      3 }
      4 
      5 with ({}) {}
      6 
      7 for (var i = 0; i < 10; i++) {
      8    f(0,1);
      9    f(NaN,1);
     10    f(0.1,0);
     11 }
     12 
     13 assertEq(f(0.1, 1), 0);