>
> Object.classOf(x) - Object.prototype.toString.call
> (x).slice(8, -1) using the original value of O.p.toString.
>
> Comments?
>

Including the name of the module that the class comes from might be nice.

We do that for classes implemented in C in GPSEE modules today by being bad
-- we modify JSClass::name after JS_InitClass() returns -- and it's helpful
during debugging.

Wes

-- 
Wesley W. Garland
Director, Product Development
PageMail, Inc.
+1 613 542 2787 x 102
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to