[whatwg] HTML 5 : Misconceptions Documented

Ian Hickson ian at hixie.ch
Wed Aug 13 14:02:05 PDT 2008

On Wed, 13 Aug 2008, Kristof Zelechovski wrote:
> 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.

It's too late to change that kind of thing, and consistency is better at 
this point, so we should keep using 'length'.

Ian Hickson               U+1047E                )\._.,--....,'``.    fL
http://ln.hixie.ch/       U+263A                /,   _.. \   _\  ;`._ ,.
Things that are impossible just take longer.   `._.-(,_..'--(,_..'`-.;.'

More information about the whatwg mailing list