Debian Codegraph @

js/src/jit-test/tests/self-hosting/intl-fallback-original.js

raw
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];