Comment #4 on issue 1929 by [email protected]: getOwnPropertyNames should only include named properties, not numbered ones
http://code.google.com/p/v8/issues/detail?id=1929
I concur that there is no spec violation here. The term "named" purposely does not exclude numbers, since these are stored (as far as can be observed) by the name which is the stringified number.
I think the "named" part of the spec phrase "named own property" has no real meaning.
The reason is to distinguish this from "internal properties", which are an explanatory device in the spec and should never be observable *as* a property.
-- v8-dev mailing list [email protected] http://groups.google.com/group/v8-dev
