RE: Elements array and query/queryAll methods

Domenic Denicola <[email protected]>
Newsgroups gmane.comp.web.dom.general
Message-ID <f2131a15e48b4d4b89840b8e652e9bb0@BN1PR05MB325.namprd05.prod.outlook.com>
From: Dean Edwards <[email protected]>

> First of all it's counter-intuitive to how I'd expect it to work - the idea stemmed from jQuery's find() method which does not return duplicates.

Hmm, perhaps I misunderstood---I thought you were talking about creating duplicates via `push` etc., but it sounds like you are worried about duplicates in the result of `queryAll`? If so, then yes, I agree there should not be duplicates in that result. It may be a mismatch between my "polyfill" (which was meant to be more illustrative than anything) versus the actual spec.
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.