VOOZH about

URL: https://bugzilla.mozilla.org/show_bug.cgi?id=2025779

⇱ 2025779 - Implement iterator includes proposal


Closed Bug 2025779 Opened 2 months ago Closed 1 month ago

Implement iterator includes proposal

Implement iterator includes proposal
Core
JavaScript: Standard Library
unspecified
Unspecified
Unspecified
enhancement
Points:
---
RESOLVED FIXED
RESOLVED
FIXED
152 Branch
Iteration:
---
a11y-review
Accessibility Severity
Performance Impact
Size Estimate
Webcompat Priority
Webcompat Score
Tracking Status
firefox152 --- fixed
Tracking Status
relnote-firefox
thunderbird_esr115
thunderbird_esr140
firefox-esr115
firefox-esr140
firefox-esr153
firefox152
firefox153
firefox154
---
QA Whiteboard:
[qa-triage-done-c153/b152]
Has STR:
---
Change Request:
---
Bug Flags:
Signature:
None
This bug is publicly visible.

 
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.

Severity: -- → N/A
Priority: -- → P3
Assignee

Updated

2 months ago
Assignee: nobody → dminor
Mentor: dminor
Status: NEW → ASSIGNED
Keywords: good-first-bug

Updated

1 month ago
Keywords: dev-doc-needed
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.

QA Whiteboard: [qa-triage-done-c153/b152]

FF152 MDN docs work for can be tracked in https://github.com/mdn/content/issues/44158 (in review)

You need to log in before you can comment on or make changes to this bug.