Re: Elements array and query/queryAll methods

Rick Waldron <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <CAHfnhfo1v5-3mPN=kwhj9s7M-4x0QMdi4jG1JvH8yKFgH7BN_g@mail.gmail.com>
On Tue, Apr 8, 2014 at 2:41 PM, Domenic Denicola <
[email protected]> wrote:

> From: [email protected] <[email protected]> on behalf of
> Anne van Kesteren <[email protected]>
>
> > 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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.