Read access to [[Class]]?

Herby Vojčík herby at
Fri Jan 27 10:12:06 PST 2012

Rick Waldron wrote:
> On Fri, Jan 27, 2012 at 12:08 PM, Brendan Eich <brendan at
> <mailto:brendan at>> 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 (

[[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).


More information about the es-discuss mailing list