Read access to [[Class]]?

John-David Dalton john.david.dalton at gmail.com
Sat Jan 28 20:43:22 PST 2012


@/be

> This too may be ok if not observable. But you wrote:
>
> You could simplify it by making `NativeArray = "Array"` and
> `NativeRegExp = "RegExp"` and so on. Then you could drop the "Tags"
> table and extending the range of Object#toString is as easy as adding
> a custom [[NativeBrand]] property value.
>
> and Allen then replied:
>
> But then, how would you implement it in pure ES code?

Sorry for the confusion. I wasn't suggesting exposing this stuff.
I think the [[NativeBrand]] property should be internal.

 -JDD


More information about the es-discuss mailing list