tor-browser

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

toString.js (207B)


      1 // ToString(symbol) throws a TypeError.
      2 
      3 var N = 10, obj, hits = 0;
      4 for (var i = 0; i < N; i++) {
      5    try {
      6        obj = new String(Symbol());
      7    } catch (exc) {
      8        hits++;
      9    }
     10 }
     11 assertEq(hits, N);