On Mar 13, 2009, at 03:28 , Brendan Eich wrote:

What you want is for Object.prototype.toString.call(obj) to return F.name.

Right.

That could be specified by changing Object.prototype.toString, instead of 13.2.2.

Right. Though it might be a good thing to keep accessing [[Class]] and F.name separately given the information you provided earlier.

I don't have time to try it out and see how it works, but I thought I'd suggest it. The constructor property is writable and deletable, which indeed creates a hazard. But it may be tolerable.

If it's for debugging purposes only, definitely.

_______________________________________________
Es-discuss mailing list
[email protected]
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to