From 6c82c9df79d4eebb918d851427ff4d47d8658ae6 Mon Sep 17 00:00:00 2001 From: Linus Groh Date: Tue, 14 Jun 2022 23:24:02 +0100 Subject: [PATCH] LibJS: Fix GetIterator capitalization in Calendar.prototype.fields This is an editorial change in the Temporal spec. See: https://github.com/tc39/proposal-temporal/commit/8538970 --- Userland/Libraries/LibJS/Runtime/Temporal/CalendarPrototype.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Userland/Libraries/LibJS/Runtime/Temporal/CalendarPrototype.cpp b/Userland/Libraries/LibJS/Runtime/Temporal/CalendarPrototype.cpp index 4f9f22db96..abcb56e3bd 100644 --- a/Userland/Libraries/LibJS/Runtime/Temporal/CalendarPrototype.cpp +++ b/Userland/Libraries/LibJS/Runtime/Temporal/CalendarPrototype.cpp @@ -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.