Tobias Bocanegra wrote > well, as alex said, the format is quite cool and very useful when it's > used in an ecma script environment. and i guess the order is not often > used. Well...if the order is not used, the old format is perfect, right? :)
> and if you wish to iterate, then you can just use the > child-names array, eg: Yes, but iterating over an array is easy as well :) So, it boils down to: - abusing a map with a special order property vs - using an array with a special name property :) Regards Carsten -- Carsten Ziegeler cziege...@apache.org