proposal-array-unique icon indicating copy to clipboard operation
proposal-array-unique copied to clipboard

Status of Array.prototype.unique Proposal

Open Gu7z opened this issue 1 year ago • 3 comments

Hi everyone,

I recently came across the Array.prototype.unique proposal and noticed that it hasn't progressed to the next stage. I couldn’t find details explaining why, and I’m quite curious about what has been influencing its journey through the ECMAScript stages.

If anyone has updates or insights on the factors or challenges that have impacted this proposal, I would greatly appreciate hearing more about it. Understanding the development process behind these features is really interesting to me.

Thanks for all your work on this!

@TechQuery @Jack-Works

Cheers

Gu7z avatar May 17 '24 20:05 Gu7z

Hello! Thanks for your interest in this proposal. I'm the champion of this proposal and I will try to advance it if @TechQuery thinks it's ready and told me to do so. However, the TC39 committee is pessimistic about adding new Array.prototype methods (see https://github.com/tc39/proposal-array-grouping/issues/37)

Jack-Works avatar May 18 '24 08:05 Jack-Works

@Gu7z I think it's likely that we will instead have this functionality on Iterator, which can then be easily applied to Arrays. See https://github.com/tc39/proposal-iterator-unique

michaelficarra avatar May 21 '24 16:05 michaelficarra

@michaelficarra Thanks for the info! I will keep eyes on the iterator-unique! :smile:

Gu7z avatar May 21 '24 18:05 Gu7z