tor-browser

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

bug706699.js (220B)


      1 // |jit-test| error: 2
      2 function g(x, y) {
      3    return x + y;
      4 }
      5 
      6 function f(g, x, y) {
      7    // return x + y;
      8    return g(x, y);
      9 }
     10 
     11 assertEq(g(4, 5), 9);
     12 
     13 obj = { valueOf: function () { throw 2; } };
     14 
     15 print(f(g, obj, 2));