[whatwg] HTML 5 : Misconceptions Documented

Kristof Zelechovski giecrilj at stegny.2a.pl
Wed Aug 13 04:56:31 PDT 2008

While we are at collections and arrays, it is worth noting that the
{coll.length} attribute is a misnomer.  I would always ask for {coll.count}
when I was learning and meditate upon why it did not work.

-----Original Message-----
From: whatwg-bounces at lists.whatwg.org
[mailto:whatwg-bounces at lists.whatwg.org] On Behalf Of Garrett Smith
Sent: Monday, August 04, 2008 7:47 PM
To: whatwg at whatwg.org
Subject: Re: [whatwg] HTML 5 : Misconceptions Documented

I'm a little surprised at the lack of response here, so I'm replying
to myself here, just to keep this issue active.

I did a little more research and found that the misconception is more
common that I thought: DOM objects that have indexed properties are
often mistaken for arrays. This is the "misconception" that I found
documented in HTML5.

More information about the whatwg mailing list