These properties are not enumerable and so can't be listed using
for ... in.
But perhaps somebody knows about another way...?
Honza
Object.getOwnPropertyNames(String.prototype)
-Boris
However beware, for...in does two things: enumerates and climbs up
prototype chain. getOwnPropertyNames lists all properties, but does not
climb the chain.
For JS code using objects as tables, I think Object.keys() is the right
choice: enumerable, no climb.
As far as I can find out, the missing function is getAllPropertyNames:
all properties and climbs.
(see getObjectProperties() in Firebug's domPanel.js).
jjb
Ah, true, thanks!
Honza