- From: ⭐caitp⭐ <notifications@github.com>
- Date: Fri, 03 Jul 2015 11:33:23 -0700
- To: heycam/webidl <webidl@noreply.github.com>
Received on Friday, 3 July 2015 18:33:51 UTC
> **Editorial note** Should define whether @@toStringTag is writable, enumerable and configurable. All @@toStringTag properties in the ES6 spec are non-writable and non-enumerable, and configurable. I think we really need to define these. Matching the values on the builtin properties is probably good, because matching ECMAScript is a good plan. The other issue with these properties, is making `InterfacePrototype.@@toStringTag === "InterfacePrototype"` while `Interface.@@toStringTag === "Interface"` --- I don't believe we want to give `Interface` an instance property `@@toStringTag`, so the alternative is making `@@toStringTag` a getter which returns a distinct value depending on the receiver --- but that's problematic for interfaces which are inherited. So yeah, I don't think we have a good answer for these semantics right now. It's probably worth discussing it a bit --- Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/54
Received on Friday, 3 July 2015 18:33:51 UTC