tor-browser

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

testInitPropOverMethod.js (196B)


      1 for (var i = 0; i < 10; i++)
      2    x = {a: function () { return 33; }, a: 4};
      3 
      4 try {
      5    result = x.a();
      6 } catch (exc) {
      7    result = "threw " + exc.name;
      8 }    
      9 assertEq(result, "threw TypeError");