@@toStringTag spoofing for null and undefined
nbdd0121 at hotmail.com
Mon Feb 9 21:40:06 PST 2015
Sorry for not noticing the change. It seems the ES6 spec changes the behavior of *.prototype object. In ES5, *.prototype is itself a * object. However, because in ES5 Object.prototype.toString.call(String.prototype) will return [object String], my proposal does not break any legacy code, instead, if not implemented, legacy code could be broken.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss