allen at wirfs-brock.com
Tue Aug 23 13:39:07 PDT 2011
On Aug 9, 2011, at 1:03 PM, Dmitry A. Soshnikov wrote:
> And what about this method Object.getMethods(...), Object.getMethodNames(...). Do we need it? I think it can be useful (since methods can be non-enumerable, and Object.keys(...) won't help, and after Object.getOwnPropertyNames(...) you have to manually filter them when `typeof` is "function")
I'm don't really see the that they are needed enough to build these in when they can be synthesized pretty easily. What is the justification for these and not others such as getAccessorProperties, getDataProperties, getNonWritableProperties, etc.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss