On Sun, Jan 18, 2009 at 3:06 PM, Andreas Junghans <
andreas.jungh...@stz-ida.de> wrote:

>
> > Your example (sparse-array) would work just as well with "new
> > Object()"
>
> Except for the missing length property


Oooh, bad example. The length of a sparse array is almost meaningless. It
doesn't give you the number of elements in the sparse array. Instead it
gives you one more than the maximum index value. (In other words, a sparse
array isn't actually sparse as far as the length is concerned.) That length
value for a sparse array is not very useful typically. Better to use an
Object and keep track of the length one's self.

Derrell
------------------------------------------------------------------------------
This SF.net email is sponsored by:
SourcForge Community
SourceForge wants to tell your story.
http://p.sf.net/sfu/sf-spreadtheword
_______________________________________________
qooxdoo-devel mailing list
qooxdoo-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to