mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-06-09 09:34:57 +09:00
LibJS: Update spec numbers for the Intl Enumeration proposal
This proposal has been merged into the main ECMA-402 spec. See:
81856b3
This commit is contained in:
parent
61b540e737
commit
a8fce9eec2
Notes:
sideshowbarker
2024-07-17 11:30:05 +09:00
Author: https://github.com/trflynn89
Commit: a8fce9eec2
Pull-request: https://github.com/SerenityOS/serenity/pull/18194
1 changed files with 2 additions and 2 deletions
|
@ -79,7 +79,7 @@ JS_DEFINE_NATIVE_FUNCTION(Intl::get_canonical_locales)
|
|||
return Array::create_from(realm, marked_locale_list);
|
||||
}
|
||||
|
||||
// 1.4.4 AvailableCanonicalTimeZones (), https://tc39.es/proposal-intl-enumeration/#sec-availablecanonicaltimezones
|
||||
// 6.5.4 AvailableCanonicalTimeZones ( ), https://tc39.es/ecma402/#sec-availablecanonicaltimezones
|
||||
static ThrowCompletionOr<Vector<StringView>> available_canonical_time_zones(VM& vm)
|
||||
{
|
||||
// 1. Let names be a List of all supported Zone and Link names in the IANA Time Zone Database.
|
||||
|
@ -108,7 +108,7 @@ static ThrowCompletionOr<Vector<StringView>> available_canonical_time_zones(VM&
|
|||
return result;
|
||||
}
|
||||
|
||||
// 2.2.2 Intl.supportedValuesOf ( key ), https://tc39.es/proposal-intl-enumeration/#sec-intl.supportedvaluesof
|
||||
// 8.3.2 Intl.supportedValuesOf ( key ), https://tc39.es/ecma402/#sec-intl.supportedvaluesof
|
||||
JS_DEFINE_NATIVE_FUNCTION(Intl::supported_values_of)
|
||||
{
|
||||
auto& realm = *vm.current_realm();
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue