mirror of
https://github.com/RGBCube/serenity
synced 2025-07-25 21:27:35 +00:00
LibJS: Fix GetIterator capitalization in Calendar.prototype.fields
This is an editorial change in the Temporal spec.
See: 8538970
This commit is contained in:
parent
9d2377ff60
commit
6c82c9df79
1 changed files with 1 additions and 1 deletions
|
@ -510,7 +510,7 @@ JS_DEFINE_NATIVE_FUNCTION(CalendarPrototype::fields)
|
|||
// 3. Assert: calendar.[[Identifier]] is "iso8601".
|
||||
VERIFY(calendar->identifier() == "iso8601"sv);
|
||||
|
||||
// 4. Let iteratorRecord be ? Getiterator(fields, sync).
|
||||
// 4. Let iteratorRecord be ? GetIterator(fields, sync).
|
||||
auto iterator_record = TRY(get_iterator(global_object, fields, IteratorHint::Sync));
|
||||
|
||||
// 5. Let fieldNames be a new empty List.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue