1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-05-31 19:38:12 +00:00
serenity/Libraries/LibJS/Tests/builtins
Matthew Olsson 2ea85355fe LibJS: Start implementing iterable framework, add ArrayIterator
With the addition of symbol keys, work can now be done on starting to
implement the well-known symbol functionality. The most important of
these well-known symbols is by far Symbol.iterator.

This patch adds IteratorPrototype, as well as ArrayIterator and
ArrayIteratorPrototype. In the future, sometime after StringIterator has
also been added, this will allow us to use Symbol.iterator directly in
for..of loops, enabling the use of custom iterator objects. Also makes
adding iterator support to native objects much easier (as will have to
be done for Map and Set, when they get added).
2020-07-11 18:54:13 +02:00
..
Array LibJS: Start implementing iterable framework, add ArrayIterator 2020-07-11 18:54:13 +02:00
BigInt LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Boolean LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Date LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Error LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Function LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
functions LibJS: Split isNaN tests into multiple sections 2020-07-06 23:40:35 +02:00
Infinity LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
JSON LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Math LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
NaN LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Number LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Object LibJS: Add tests for symbol object integration 2020-07-09 23:33:00 +02:00
Proxy LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Reflect LibJS: Object.preventExtensions should allow property modfication 2020-07-07 10:47:10 +02:00
String LibJS: Indent tests with 4 spaces instead of 2 2020-07-06 23:40:35 +02:00
Symbol LibJS: Add test for well-known symbols 2020-07-09 23:29:28 +02:00