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

@ -16,7 +16,7 @@ GC_DEFINE_ALLOCATOR(Segments);
GC::Ref<Segments> Segments::create(Realm& realm, Unicode::Segmenter const& segmenter, Utf16String string)
{
// 1. Let internalSlotsList be « [[SegmentsSegmenter]], [[SegmentsString]] ».
// 2. Let segments be OrdinaryObjectCreate(%SegmentsPrototype%, internalSlotsList).
// 2. Let segments be OrdinaryObjectCreate(%IntlSegmentsPrototype%, internalSlotsList).
// 3. Set segments.[[SegmentsSegmenter]] to segmenter.
// 4. Set segments.[[SegmentsString]] to string.
// 5. Return segments.