duonglaiquang · GitHub

Conversation

@duonglaiquang

Copy link Copy Markdown

Contributor

This PR does the following

  • Refactor Intl initialization — Move logic from JavaScriptEngine into Intl.init(), making the Intl module self-contained and enabling static function registration (for getCanonicalLocales() in the later commit)

  • Implement Intl.Locale

  • Implement Intl.getCanonicalLocales()

  • Add supportedLocalesOf() to Intl.NumberFormat and Intl.DateTimeFormat

@sonarqubecloud

Copy link Copy Markdown

@rbri

@rbri

Copy link Copy Markdown

Member

@duonglaiquang this looks great, looking forward to the things you like to do on top of this.

@rbri

Copy link Copy Markdown

Member

@duonglaiquang looks like my latest cleanup has borken something, working on that

@rbri

Copy link Copy Markdown

Member

@duonglaiquang have fixed the toString stuff and switched to array-like support. this is a bit closer to the spec. Maybe you like to backport that to your branch

Labels

None yet

2 participants

@duonglaiquang @rbri

Read the original on github.com ↗