Interface prototype objects and ES6 @@toStringTag
erik.arvidsson at gmail.com
Mon May 13 13:50:01 PDT 2013
The way that WebIDL require Object.prototype.toString to return "[object
TypePrototype]" for the interface prototype object and "[object Type]" for
the instances seems to imply that every instance needs to have an own
If an instance does not have its own @@toStringTag,
Object.prototype.toString will read through to the [[Prototype]] which
would return the wrong string.
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss