Rick Waldron wrote:

On Fri, Jan 27, 2012 at 12:08 PM, Brendan Eich <bren...@mozilla.org
<mailto:bren...@mozilla.org>> wrote:

    [[Class]] begone in ES6.


Assuming the public facing API has no intention of breaking back
compatibility, what internal property will be read to determine the
return value of Object.prototype.toString (15.2.4.2)?

[[NativeBrand]] if my memory does not fail me; but it only works for builtins, other will all return [[object object]]. Look at the newest proposal, allenwb has posted a link a week or two ago (I can't find it, I probably deleted the mail with it already).

Herby
_______________________________________________
es-discuss mailing list
es-discuss@mozilla.org
https://mail.mozilla.org/listinfo/es-discuss

Reply via email to