ECMA-402 Intl spec's internal `FallbackSymbol`
npm install intl-fallback-symbol[![github actions][actions-image]][actions-url]
[![coverage][codecov-image]][codecov-url]
[![dependency status][deps-svg]][deps-url]
[![dev dependency status][dev-deps-svg]][dev-deps-url]
[![License][license-image]][license-url]
[![Downloads][downloads-image]][downloads-url]
[![npm badge][npm-badge-png]][package-url]
ECMA-402 Intl spec's internal FallbackSymbol.
This Symbol is well-known - shared across realms.
It is present in the following engines with the description "IntlLegacyConstructedSymbol" (spec):
- node >= 16
- Chrome >= 91
- Safari >= 14.1
- Firefox >= 54
It is present in the following engines with the description "IntlFallback": (The ES2017 Intl spec did not specify a description)
- node >=8 <16
- Chrome 57 - 90
When it is present, the package will export it; when not, it will export undefined.
``js
var IntlFallbackSymbol = require('intl-fallback-symbol');
var assert = require('assert');
assert(typeof IntlFallbackSymbol === 'symbol');
`
, and run npm test`[package-url]: https://npmjs.org/package/intl-fallback-symbol
[npm-version-svg]: https://versionbadg.es/ljharb/intl-fallback-symbol.svg
[deps-svg]: https://david-dm.org/ljharb/intl-fallback-symbol.svg
[deps-url]: https://david-dm.org/ljharb/intl-fallback-symbol
[dev-deps-svg]: https://david-dm.org/ljharb/intl-fallback-symbol/dev-status.svg
[dev-deps-url]: https://david-dm.org/ljharb/intl-fallback-symbol#info=devDependencies
[npm-badge-png]: https://nodei.co/npm/intl-fallback-symbol.png?downloads=true&stars=true
[license-image]: https://img.shields.io/npm/l/intl-fallback-symbol.svg
[license-url]: LICENSE
[downloads-image]: https://img.shields.io/npm/dm/intl-fallback-symbol.svg
[downloads-url]: https://npm-stat.com/charts.html?package=intl-fallback-symbol
[codecov-image]: https://codecov.io/gh/ljharb/intl-fallback-symbol/branch/main/graphs/badge.svg
[codecov-url]: https://app.codecov.io/gh/ljharb/intl-fallback-symbol/
[actions-image]: https://img.shields.io/endpoint?url=https://github-actions-badge-u3jn4tfpocch.runkit.sh/ljharb/intl-fallback-symbol
[actions-url]: https://github.com/ljharb/intl-fallback-symbol/actions