LibJS: Implement Iterator.prototype [ @@toStringTag ]

This commit is contained in:
Timothy Flynn 2023-06-24 17:01:57 -04:00 committed by Andreas Kling
commit 7ff6b472c0
Notes: sideshowbarker 2024-07-17 05:01:20 +09:00
2 changed files with 7 additions and 0 deletions

View file

@ -0,0 +1,3 @@
test("basic functionality", () => {
expect(Iterator.prototype[Symbol.toStringTag]).toBe("Iterator");
});