1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 07:47:34 +00:00

LibJS: Add a spec link for Iterator Records

This is an editorial change to the spec to strongly define this record:
85d910c
This commit is contained in:
Timothy Flynn 2022-02-18 08:46:32 -05:00 committed by Linus Groh
parent 2c6183da1e
commit 2575184242
2 changed files with 12 additions and 12 deletions

View file

@ -11,7 +11,7 @@
namespace JS {
// Iterator Record
// 7.4.1 Iterator Records, https://tc39.es/ecma262/#sec-iterator-records
struct Iterator {
Object* iterator { nullptr }; // [[Iterator]]
Value next_method; // [[NextMethod]]