Mathias Bynens mathiasb at
Wed Mar 5 22:37:54 PST 2014

On 5 Mar 2014, at 17:19, Domenic Denicola <domenic at> wrote:

> Personally I think the more useful model to follow than `String.prototype.contains` is `Set.prototype.has`.

But then DOM4 `DOMStringList` would still have its own `contains` _and_ the `has` it inherits from `Array.prototype`. That seems confusing, no?

More information about the es-discuss mailing list