Jan 18 meeting notes

Wes Garland wes at page.ca
Fri Jan 20 09:26:44 PST 2012


>
> 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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20120120/1317c9cf/attachment.html>


More information about the es-discuss mailing list