Read access to [[Class]]?
john.david.dalton at gmail.com
Sat Jan 28 20:43:22 PST 2012
> 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.
More information about the es-discuss