I don't see any active proposals in TC39 for `Array.prototype.compact()` (think `filter(x => x)`/`filter(Boolean)`). I have added one: https://github.com/keithamus/proposal-array-compact. Anyone interested in making this a thing?
GitHub - keithamus/proposal-array-compact: A proposal for adding a `compact()` method to Arrays
A proposal for adding a `compact()` method to Arrays - GitHub - keithamus/proposal-array-compact: A proposal for adding a `compact()` method to Arrays
@jackf absolutely! It's probably the perfect kind of proposal to pick up for someone who is new, as the spec text will be quite straight forward but the negotiations and tribulations of web compat will be challenging enough to get a real taste of the process without (hopefully!) reaching burnout 😬
@keithamus@jackf It would be very easy to work out the design and write the spec, but new Array.prototype methods are very hard to add due to web compat issues. I wouldn't recommend it to someone new.