mirror of
https://github.com/fergalmoran/ladybird.git
synced 2026-01-06 16:45:03 +00:00
LibJS: Explicitly provide all GetIterator arguments from Intl.ListFormat
This is an editorial change in the ECMA-402 spec. See: https://github.com/tc39/ecma402/commit/13895c8
This commit is contained in:
committed by
Linus Groh
parent
f0d0459c3e
commit
b74786d3c3
@@ -247,8 +247,8 @@ ThrowCompletionOr<Vector<String>> string_list_from_iterable(VM& vm, Value iterab
|
||||
return Vector<String> {};
|
||||
}
|
||||
|
||||
// 2. Let iteratorRecord be ? GetIterator(iterable).
|
||||
auto iterator_record = TRY(get_iterator(vm, iterable));
|
||||
// 2. Let iteratorRecord be ? GetIterator(iterable, sync).
|
||||
auto iterator_record = TRY(get_iterator(vm, iterable, IteratorHint::Sync));
|
||||
|
||||
// 3. Let list be a new empty List.
|
||||
Vector<String> list;
|
||||
|
||||
Reference in New Issue
Block a user