tor-browser

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

intl-fallback-original.js (380B)


      1 // |jit-test| skip-if: typeof Intl === 'undefined'; skip-if: getBuildConfiguration("wasi")
      2 
      3 // Clobbering `Symbol` should not impact creation of %Intl%.[[FallbackSymbol]]
      4 globalThis.Symbol = null;
      5 
      6 const IntlFallbackSymbol =
      7        Object.getOwnPropertySymbols(
      8                Intl.DateTimeFormat.call(
      9                        Object.create(Intl.DateTimeFormat.prototype)))[0];