Implement iterator includes proposal
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
| Assignee | |
Description•2 months ago
|
This should be fairly easily implementable, this seems to be equivalent to using Iterator.prototype.some, e.g. .some(e => e === searchElement), except for the skipped elements part, which could be done using Iterator.prototype.take.
Bug 2003345 has an example of how to add an empty placeholder method to iterator. I suspect the implementation can be done using IteratorSome and IteratorTake in Iterator.js as examples, most likely by calling them directly.
Updated•2 months ago
|
| Assignee | |
Updated•2 months ago
|
| Assignee | |
Comment 1•1 month ago
|
| Assignee | |
Comment 2•1 month ago
|
| Assignee | |
Comment 3•1 month ago
|
| Assignee | |
Comment 4•1 month ago
|
These are from https://github.com/tc39/test262/pull/5031 which is
currently under review. Once the tests land upstream, these can be
removed. This will be handled as part of shipping the feature when
it reaches Stage 3.
Comment 6•1 month ago
|
|
| bugherder | |
https://hg.mozilla.org/mozilla-central/rev/c7e5a9607447
https://hg.mozilla.org/mozilla-central/rev/81c4ad74dc82
https://hg.mozilla.org/mozilla-central/rev/6d64532cce7f
https://hg.mozilla.org/mozilla-central/rev/3b83144474b1
Updated•27 days ago
|
Comment 7•22 days ago
•
|
FF152 MDN docs work for can be tracked in https://github.com/mdn/content/issues/44158 (in review)
Updated•22 days ago
|
