@@toStringTag spoofing for null and undefined

Brendan Eich brendan at mozilla.org
Tue Jan 20 21:42:27 PST 2015

Mark S. Miller wrote:
> Good, I understand now. I agree with all this. In ES6 the common cases 
> have to work right, and no guarantees compromised. Beyond the common 
> cases, extensibility we're confident in is great now. Otherwise, place 
> restriction where needed now (static and dynamic errors, inaccessible 
> symbols) to make the world safe for the extensibility directions we 
> think we are likely to want in the future.
> No exposed @toStringTag in ES6. Not because this extension point could 
> grow into an extensible branding mechanism (it can't), but because 
> we're not yet clear on how to prevent it from being mistaken for one.
> A fair summary?

Fair. Allen?


More information about the es-discuss mailing list