tc39 / proposal-collection-methods

https://tc39.github.io/proposal-collection-methods/
Other
172 stars 8 forks source link

Inconsistency of `.deleteAll` methods results #53

Open zloirock opened 1 year ago

zloirock commented 1 year ago

2023-11-11_23-39-17 vs 2023-11-11_23-40-01 Set method returns a boolean, the rest - this. I raised this issue in the Set methods proposal, https://github.com/tc39/proposal-set-methods/issues/15, it was changed, and after that this method was moved to this proposal. It seems it's need to change it for other .deleteAll methods.