Rick Waldron (2014-03-05T15:45:56.000Z)
On Wed, Mar 5, 2014 at 4:07 AM, David Bruant <bruant.d at gmail.com> wrote:

>  Le 05/03/2014 09:24, Eric Elliott a écrit :
>
> What ever happened to Array.prototype.contains? There's an old strawman
> for Array.prototype.has (
> http://wiki.ecmascript.org/doku.php?id=strawman:array.prototype.has )
> that references this thread: (
> https://mail.mozilla.org/pipermail/es-discuss/2012-February/020745.html )
>
> Let's try to add it to the next meeting agenda
> https://github.com/tc39/agendas/pull/27
>
>
>   But it seems the thread fizzled out a couple years ago, and
> Array.prototype.contains didn't seem to make its way into ES6. That seems
> odd, since we do have String.prototype.contains, and it seemed like it was
> desirable for DOM.
>
> The DOM won't inherit from it directly, shall it?
>

The forth-coming-still-in-design "Elements" class will inherit from Array.

Rick
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20140305/eaf99cd0/attachment.html>
domenic at domenicdenicola.com (2014-03-20T16:07:46.647Z)
On Wed, Mar 5, 2014 at 4:07 AM, David Bruant <bruant.d at gmail.com> wrote:

> The DOM won't inherit from it directly, shall it?

The forth-coming-still-in-design "Elements" class will inherit from Array.