Hi, Thanks Allen and André for replying; I admit that I haven't payed much attention to the new classy parts of ES6.
On Tue 13 Aug 2013 19:44, Allen Wirfs-Brock <[email protected]> writes: > instanceof is essentially broken when applied to most non-built-in > prototype objects because they usually just aren't defined to proper > operate as instances of the associated constructor. Why is there a "constructor" link, then, from GeneratorObjectPrototype to GeneratorFunctionPrototype, if the latter isn't a constructor? Or is it, somehow? BTW, I find that the lack of clear names in the spec makes thinking and communication difficult. If you can, I would call them "GeneratorFunction", "GeneratorFunctionPrototype", and "GeneratorObjectPrototype", in LTR order in the section 15.19.3 diagram. They don't have to be bound on the global object, but having well-known names in the spec makes it easier to talk about them. Andy _______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

