keithamus / proposal-array-compact

A proposal for adding a `compact()` method to Arrays
MIT License
6 stars 1 forks source link

Webcompat issues? #5

Open keithamus opened 1 year ago

keithamus commented 1 year ago

This issue is here to discover webcompat issues.

keithamus commented 1 year ago

Sugar includes .compact(all) which may cause webcompat issues - as the all boolean (defaulting to false) determines if elements removed should be falsey (when true) or nullish (when false). See #2 where this is an open discussion about settling on a behaviour for this proposal.