mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-02 15:46:33 +00:00
LibJS: Implement Intl.Locale.prototype.variants
This is a normative change in the ECMA-402 spec. See:
e8c995a
This commit is contained in:
parent
324bd0f163
commit
128675770c
Notes:
github-actions[bot]
2025-06-04 21:12:35 +00:00
Author: https://github.com/trflynn89
Commit: 128675770c
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/4996
7 changed files with 123 additions and 7 deletions
|
@ -91,6 +91,8 @@ struct WeekInfo {
|
|||
Vector<u8> weekend; // [[Weekend]]
|
||||
};
|
||||
|
||||
Optional<String> get_locale_variants(Unicode::LocaleID const&);
|
||||
|
||||
GC::Ref<Array> calendars_of_locale(VM&, Locale const&);
|
||||
GC::Ref<Array> collations_of_locale(VM&, Locale const& locale);
|
||||
GC::Ref<Array> hour_cycles_of_locale(VM&, Locale const& locale);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue