A spec-compliant polyfill/ponyfill for
Intl.getCanonicalLocales tested by the official ECMAScript Conformance test suite
To use the polyfill, just import it to make sure that a fully functional Intl.Locale is available in your environment:
If Intl.Locale already exists, the polyfill will not be loaded.
To use this as a ponyfill:
This library is test262-compliant.