LibJS: Re-arrange and rename a few Intl properties

This is an editorial change in the ECMA-402 spec. See:
a46e37d
e102741
67a8417
ecb086c
This commit is contained in:
Timothy Flynn 2025-03-03 08:47:10 -05:00 committed by Tim Flynn
commit aa61307392
Notes: github-actions[bot] 2025-03-04 12:37:30 +00:00
23 changed files with 481 additions and 481 deletions

View file

@ -95,7 +95,7 @@ JS_DEFINE_NATIVE_FUNCTION(SegmenterConstructor::supported_locales_of)
auto locales = vm.argument(0);
auto options = vm.argument(1);
// 1. Let availableLocales be %Segmenter%.[[AvailableLocales]].
// 1. Let availableLocales be %Intl.Segmenter%.[[AvailableLocales]].
// 2. Let requestedLocales be ? CanonicalizeLocaleList(locales).
auto requested_locales = TRY(canonicalize_locale_list(vm, locales));