summaryrefslogtreecommitdiff
path: root/Userland/Libraries/LibJS
diff options
context:
space:
mode:
authorTimothy Flynn <trflynn89@pm.me>2023-04-05 11:32:30 -0400
committerLinus Groh <mail@linusgroh.de>2023-04-07 20:50:50 +0200
commita8fce9eec2b5129fad71edbdf271838326543e7f (patch)
tree891107e014e33dc6d94409532220285a2695ec4f /Userland/Libraries/LibJS
parent61b540e737fd8c65cabb423b2b2450472502aa90 (diff)
downloadserenity-a8fce9eec2b5129fad71edbdf271838326543e7f.zip
LibJS: Update spec numbers for the Intl Enumeration proposal
This proposal has been merged into the main ECMA-402 spec. See: https://github.com/tc39/ecma402/commit/81856b3
Diffstat (limited to 'Userland/Libraries/LibJS')
-rw-r--r--Userland/Libraries/LibJS/Runtime/Intl/Intl.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Userland/Libraries/LibJS/Runtime/Intl/Intl.cpp b/Userland/Libraries/LibJS/Runtime/Intl/Intl.cpp
index de3ec5e7d3..9f9cf96abd 100644
--- a/Userland/Libraries/LibJS/Runtime/Intl/Intl.cpp
+++ b/Userland/Libraries/LibJS/Runtime/Intl/Intl.cpp
@@ -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();