W3C home > Mailing lists > Public > public-html@w3.org > April 2014

Re: Elements array and query/queryAll methods

From: Rick Waldron <waldron.rick@gmail.com>
Date: Tue, 8 Apr 2014 15:00:26 -0400
Message-ID: <CAHfnhfo1v5-3mPN=kwhj9s7M-4x0QMdi4jG1JvH8yKFgH7BN_g@mail.gmail.com>
To: Domenic Denicola <domenic@domenicdenicola.com>
Cc: Anne van Kesteren <annevk@annevk.nl>, Dean Edwards <dean.edwards@gmail.com>, Travis Leithead <travis.leithead@microsoft.com>, Eric Devine <devineej@gmail.com>, "public-html@w3.org" <public-html@w3.org>, "www-dom@w3.org" <www-dom@w3.org>
On Tue, Apr 8, 2014 at 2:41 PM, Domenic Denicola <
domenic@domenicdenicola.com> wrote:

> From: annevankesteren@gmail.com <annevankesteren@gmail.com> on behalf of
> Anne van Kesteren <annevk@annevk.nl>
>
> > How does this deal with arr[0] = string?
>
> Indeed. The general problem of creating "typed arrays" is a large one and
> I don't think array subclasses are well suited to it.


This is nothing more than a whim, but would a Set subclass be more
appropriate?

Rick
Received on Tuesday, 8 April 2014 19:01:13 UTC

This archive was generated by hypermail 2.3.1 : Thursday, 29 October 2015 10:16:38 UTC