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.  

Allen

_______________________________________________
es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to