tc39 / proposal-array-unique

ECMAScript proposal for Deduplicating method of Array
138 stars 7 forks source link

Why does this proposal belong in 262, but not the rest of Underscore/Lodash? #16

Open sffc opened 4 years ago

sffc commented 4 years ago

This proposal is basically taking one of the convenience methods from popular JS helper libraries like Underscore.js and Lodash and putting it into 262.

Why uniqueBy? Why not zip, chunk, or any of the other convenience methods not yet covered?

ljharb commented 4 years ago

Userland is where many of the array methods came from - I think the automatic answer is "probably all of them should be included, but in independent proposals"?