Просмотр исходного кода

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
Timothy Flynn 2 лет назад
Родитель
Сommit
a8fce9eec2
1 измененных файлов с 2 добавлено и 2 удалено
  1. 2 2
      Userland/Libraries/LibJS/Runtime/Intl/Intl.cpp

+ 2 - 2
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();