Closed Bug 1523785 Opened 1 year ago Closed 1 year ago

Add Array#flat and flatMap to @@unscopables

Categories

(Core :: JavaScript: Standard Library, enhancement)

enhancement
Not set
normal

Tracking

()

RESOLVED FIXED
mozilla67
Tracking Status
firefox67 --- fixed

People

(Reporter: till, Assigned: anba)

References

(Blocks 1 open bug)

Details

Attachments

(1 file)

The proposal for adding flat and flatMap to Array.prototype has been amended to add the names to Array's list of unscopable names.

We're shipping flat and flatMap since 62, and they just advanced to stage 4, so we should add them to unscopables soon.

Attached patch bug1523785.patchSplinter Review
Assignee: nobody → andrebargull
Status: NEW → ASSIGNED
Attachment #9044670 - Flags: review?(jorendorff)
Attachment #9044670 - Flags: review?(jorendorff) → review+
Duplicate of this bug: 1530865
Keywords: checkin-needed

Pushed by rmaries@mozilla.com:
https://hg.mozilla.org/integration/mozilla-inbound/rev/fa45218ad1c5
Add "flat" and "flatMap" to Array.prototype[@@unscopables]. r=jorendorff

Keywords: checkin-needed
Status: ASSIGNED → RESOLVED
Closed: 1 year ago
Resolution: --- → FIXED
Target Milestone: --- → mozilla67
You need to log in before you can comment on or make changes to this bug.