mirror of
https://github.com/swc-project/swc.git
synced 2024-12-30 00:52:29 +03:00
7 lines
339 B
TypeScript
7 lines
339 B
TypeScript
// @target: es2018
|
|
|
|
// Sample from
|
|
// https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Global_Objects/Intl/PluralRules/supportedLocalesOf
|
|
const locales = ['ban', 'id-u-co-pinyin', 'de-ID'];
|
|
const options = { localeMatcher: 'lookup' } as const;
|
|
console.log(Intl.PluralRules.supportedLocalesOf(locales, options).join(', ')); |