1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-25 18:27:35 +00:00

LibJS: Add an Iterator constructor and object

The Iterator object cannot be constructed directly but can be subclassed
or created with `Iterator.from` (not implemented here).
This commit is contained in:
Timothy Flynn 2023-06-24 10:01:04 -04:00 committed by Andreas Kling
parent 428109e709
commit 5736b53013
9 changed files with 165 additions and 1 deletions

View file

@ -63,6 +63,7 @@
#include <LibJS/Runtime/Intl/SegmenterPrototype.h>
#include <LibJS/Runtime/Intl/SegmentsPrototype.h>
#include <LibJS/Runtime/Intrinsics.h>
#include <LibJS/Runtime/IteratorConstructor.h>
#include <LibJS/Runtime/IteratorPrototype.h>
#include <LibJS/Runtime/JSONObject.h>
#include <LibJS/Runtime/MapConstructor.h>