tor-browser

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

bug470143.js (229B)


      1 // Test that getname caches correctly handle typeof for missing names.
      2 function f() { for (i = 0; i < 2000; ++i) { var k = typeof nosuchvar; } return k; }
      3 
      4 assertEq(f(), "undefined");
      5 this.nosuchvar = 5;
      6 assertEq(f(), "number");