W3C home > Mailing lists > Public > whatwg@whatwg.org > August 2008

[whatwg] HTML 5 : Misconceptions Documented

From: Kristof Zelechovski <giecrilj@stegny.2a.pl>
Date: Wed, 13 Aug 2008 13:56:31 +0200
Message-ID: <D5371802747748F0968F905E90058F3B@POCZTOWIEC>
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@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.
Received on Wednesday, 13 August 2008 04:56:31 UTC

This archive was generated by hypermail 2.4.0 : Wednesday, 22 January 2020 16:59:04 UTC