mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-07-30 12:49:19 +00:00
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:
parent
8b0f6cb876
commit
aa61307392
Notes:
github-actions[bot]
2025-03-04 12:37:30 +00:00
Author: https://github.com/trflynn89
Commit: aa61307392
Pull-request: https://github.com/LadybirdBrowser/ladybird/pull/3785
23 changed files with 481 additions and 481 deletions
|
@ -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.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue