intl-fallback-symbol

1.0.0 • Public • Published

intl-fallback-symbol Version Badge

github actions coverage dependency status dev dependency status License Downloads

npm badge

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.

Example

var IntlFallbackSymbol = require('intl-fallback-symbol');

var assert = require('assert');

assert(typeof IntlFallbackSymbol === 'symbol');

Tests

Simply clone the repo, npm install, and run npm test

/intl-fallback-symbol/

    Package Sidebar

    Install

    npm i intl-fallback-symbol

    Weekly Downloads

    199

    Version

    1.0.0

    License

    MIT

    Unpacked Size

    8.24 kB

    Total Files

    9

    Last publish

    Collaborators

    • ljharb