Closed Bug 1643013 Opened 1 year ago Closed 1 year ago

Add eager Iterator Helper methods

Categories

(Core :: JavaScript Engine, enhancement, P2)

enhancement

Tracking

()

RESOLVED FIXED
mozilla79
Tracking Status
firefox79 --- fixed

People

(Reporter: avandolder, Assigned: avandolder)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The Iterator Helpers proposal defines 6 eager methods that need to be implemented on to %Iterator.prototype%: reduce, toArray, forEach, some, every, and find.

Implements the 6 eager methods onto %Iterator.prototype%:
reduce, toArray, forEach, some, every, and find,
as well as adding corresponding unit tests.

Severity: -- → N/A
Priority: -- → P2
Pushed by jorendorff@mozilla.com:
https://hg.mozilla.org/integration/autoland/rev/32d9a307ba08
Add eager Iterator Helper methods. r=jorendorff
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla79
Regressions: 1646371
Type: task → enhancement
You need to log in before you can comment on or make changes to this bug.