tor-browser

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

use-grouping-bool-string.js (323B)


      1 // |reftest| skip-if(!this.hasOwnProperty("Intl"))
      2 
      3 let nf1 = new Intl.NumberFormat("en", {useGrouping: "true"});
      4 assertEq(nf1.format(1000), "1,000");
      5 
      6 let nf2 = new Intl.NumberFormat("en", {useGrouping: "false"});
      7 assertEq(nf2.format(1000), "1,000");
      8 
      9 if (typeof reportCompare === "function")
     10  reportCompare(true, true);