Array.prototype.remove(item)

T.J. Crowder tj.crowder at farsightsoftware.com
Thu Oct 11 11:21:28 UTC 2018


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


More information about the es-discuss mailing list