@@toStringTag spoofing for null and undefined

Brendan Eich brendan at mozilla.org
Tue Jan 20 14:54:18 PST 2015


Brendan Eich wrote:
> 2. Any remaining brand or trademark test can use object identity or 
> equivalent unforgeable capability.
>
> (2) can't be meta-programmed to spoof identity. 

Reference identity, of course -- value types/proxies want value identity 
defined by concatenating and freezing existing primitives, or equivalent.

/be


More information about the es-discuss mailing list