mirror of
https://github.com/LadybirdBrowser/ladybird.git
synced 2025-09-04 08:36:12 +00:00
LibJS: Change "Record {}" to "Iterator Record {}" in comments
This is an editorial change in the ECMA-262 spec.
See: 85d910c
This commit is contained in:
parent
c9bdd59e20
commit
07ac8b7021
Notes:
sideshowbarker
2024-07-17 11:24:15 +09:00
Author: https://github.com/linusg
Commit: 07ac8b7021
Pull-request: https://github.com/SerenityOS/serenity/pull/13874
Reviewed-by: https://github.com/IdanHo ✅
2 changed files with 2 additions and 2 deletions
|
@ -62,7 +62,7 @@ ThrowCompletionOr<Iterator> get_iterator(GlobalObject& global_object, Value valu
|
|||
// 5. Let nextMethod be ? GetV(iterator, "next").
|
||||
auto next_method = TRY(iterator.get(global_object, vm.names.next));
|
||||
|
||||
// 6. Let iteratorRecord be the Record { [[Iterator]]: iterator, [[NextMethod]]: nextMethod, [[Done]]: false }.
|
||||
// 6. Let iteratorRecord be the Iterator Record { [[Iterator]]: iterator, [[NextMethod]]: nextMethod, [[Done]]: false }.
|
||||
auto iterator_record = Iterator { .iterator = &iterator.as_object(), .next_method = next_method, .done = false };
|
||||
|
||||
// 7. Return iteratorRecord.
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue