Closed Bug 1647794 Opened 4 years ago Closed 4 years ago

Add lazy Iterator helper methods

Categories

(Core :: JavaScript Engine, enhancement, P3)

enhancement

Tracking

()

RESOLVED FIXED
mozilla80
Tracking Status
firefox80 --- fixed

People

(Reporter: e7358d9c, Assigned: avandolder)

References

(Blocks 1 open bug, )

Details

Attachments

(1 file)

Severity: -- → N/A
Priority: -- → P3
Assignee: nobody → avandolder
Status: NEW → ASSIGNED

The Iterator Helpers proposal defines 6 lazy synchronous iterator methods,
map, filter, take, drop, asIndexedPairs, and flatMap.
All of these methods are to return the newly defined builtin generators,
which we implement as self-hosted generators that are stored in an
internal slot and thus observably distinct from regular generators.

Pushed by avandolder@mozilla.com: https://hg.mozilla.org/integration/autoland/rev/cfad3fec4c86 Add lazy Iterator Helper methods. r=jorendorff
Status: ASSIGNED → RESOLVED
Closed: 4 years ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla80
Regressions: 1651942
You need to log in before you can comment on or make changes to this bug.

Attachment

General

Created:
Updated:
Size: