andrea.giammarchi at gmail.com
Thu Oct 11 12:15:33 UTC 2018
but also `delete obj[key]` ... not identical as operation, but with a
That leaves room for eventual Array#drop(item) that returns the item after
optionally mutating the array ^_^;;
On Thu, Oct 11, 2018 at 1:21 PM T.J. Crowder <
tj.crowder at farsightsoftware.com> wrote:
> On Thu, Oct 11, 2018 at 10:59 AM Andrea Giammarchi
> <andrea.giammarchi at gmail.com> wrote:
> > TBH, for consistency sake with everything else in JS, I'd call
> > the method `delete`, since it's the one that returns `true` or
> > `false` in pretty much every other case.
> E.g., in Maps and Sets (and their weak cousins).
> -- T.J. Crowder
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss