The inspect module provides functions for introspecting on live objects and their source code.
On Thu, Jun 14, 2012 at 6:21 PM, Russell Leggett <[email protected]>wrote: > On Thu, Jun 14, 2012 at 5:42 AM, Hemanth H.M <[email protected]> wrote: > >> Was just wondering if something like *Object.inspect(myObj) *would give >> all the attributes of that particular object. > > > What would this function return? There's already an > Object.keys<https://developer.mozilla.org/en/JavaScript/Reference/Global_Objects/Object/keyss>function > - does that do what you wanted? That's in ES5. > > - Russ > > >> >> >> -- >> *'I am what I am because of who we all are'* >> h3manth.com <http://www.h3manth.com> >> *-- Hemanth HM * >> >> _______________________________________________ >> es-discuss mailing list >> [email protected] >> https://mail.mozilla.org/listinfo/es-discuss >> >> > -- *'I am what I am because of who we all are'* h3manth.com <http://www.h3manth.com> *-- Hemanth HM *
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

