for-in evaluation order
dherman at mozilla.com
Mon Dec 27 11:15:02 PST 2010
> Dave, under the spec for "Operation OwnProperties(obj)" step 1, you don't explicitly state that these index properties are to be enumerated in numeric order. An oversight?
Oops, yes, thanks for catching that. I've updated the wiki.
> Also, you misstate that indexes are "properties with values that can be converted to numbers via ToUInt32". I think you meant something more like the text from 15.4:
> A property name P (in the form of a String value) is an array index if and only if ToString(ToUint32(P)) is equal to P and ToUint32(P) is not equal to 2**32−1.
Yes, that's more precise, thanks. I've also updated this text in the wiki.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss