Would some like Object.inspect(myObj) be useful?
Hemanth H.M
hemanth.hm at gmail.com
Thu Jun 14 10:24:19 PDT 2012
WOW! Thanks a ton for the clarification.
On Thu, Jun 14, 2012 at 10:52 PM, Brendan Eich <brendan at mozilla.com> wrote:
> ES5 has plural Object.defineProperties for defining more than one property
> on an object, and of course Object.create that defines all the properties
> on a new object from a descriptor-map. But it doesn't have anything like
> this inspect. We could add such an Object.getPropertyDescriptors API, for
> sure.
>
--
*'I am what I am because of who we all are'*
h3manth.com <http://www.h3manth.com>
*-- Hemanth HM *
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120614/13cc14cc/attachment.html>
More information about the es-discuss
mailing list