Would some like Object.inspect(myObj) be useful?

T.J. Crowder tj at crowdersoftware.com
Thu Jun 14 03:33:44 PDT 2012


On 14 June 2012 11:07, Hemanth H.M <hemanth.hm at gmail.com> wrote:

> No there is no proposal of that I'm aware of in Strawman, just asking the
> group if it's useful?
>

I can't speak for the group, but I think you'd need to explain it a lot
more. :-) What would it return? How does it relate to the existing reflect_api
harmony proposal<http://wiki.ecmascript.org/doku.php?id=harmony:reflect_api>?
How does it differ from something built using Object.keys or for..in? Does
it include non-enumerable properties? When you say "attributes," do you
mean properties or something else?

Not harshing, just trying to understand what you're raising.

(Side note: The convention on the list seems to be quote-first and comment
below the quote [as above], rather than the other way around [which is
gmail's default].)

-- T.J.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120614/d4e82b84/attachment-0001.html>


More information about the es-discuss mailing list