Add initial implementation for Iterator.prototype.join
Categories
(Core :: JavaScript Engine, enhancement, P3)
Tracking
()
| Tracking | Status | |
|---|---|---|
| firefox152 | --- | fixed |
People
(Reporter: dminor, Assigned: dminor)
References
(Blocks 1 open bug)
Details
Attachments
(3 files)
Please add an initial implementation of https://tc39.es/proposal-iterator-join/, using the implementations in https://searchfox.org/firefox-main/source/js/src/builtin/Iterator.js as an example. Most of those methods are iterator helpers, but Iterator.find is an example of one that's not.
The Iterator.prototype.join method is meant to work like Array.prototype.join. That's been written in C++ and heavily optimized. We'll probably end up doing some optimizations on the Iterator version as well, but for now, let's land a version in JavaScript and add some basic tests.
Tests can be added here using a new folder called join.
Updated•7 months ago
|
| Assignee | ||
Updated•3 months ago
|
| Assignee | ||
Comment 1•2 months ago
|
||
| Assignee | ||
Comment 2•2 months ago
|
||
| Assignee | ||
Comment 3•2 months ago
|
||
These are from https://github.com/tc39/test262/pull/4768 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.
https://hg.mozilla.org/mozilla-central/rev/6c80516c8fcb
https://hg.mozilla.org/mozilla-central/rev/d13603ff7fe4
https://hg.mozilla.org/mozilla-central/rev/2f4dc55886c4
Updated•2 months ago
|
Description
•