- From: Domenic Denicola <notifications@github.com>
- Date: Thu, 24 Mar 2016 13:12:23 -0700
- To: heycam/webidl <webidl@noreply.github.com>
Received on Thursday, 24 March 2016 20:12:56 UTC
If I were to guess what this means it would be doing something like an `IsConstructor(f)` check, plus a check that `f.__proto__ === Painter`. It doesn't check that the constructor is actually doing what you want, though: e.g. I could do `class X extends Painter { constructor() { return {}; } }` and all instances created by `X` would not be `Painter`s in any way. --- You are receiving this because you are subscribed to this thread. Reply to this email directly or view it on GitHub: https://github.com/heycam/webidl/issues/101#issuecomment-201000420
Received on Thursday, 24 March 2016 20:12:56 UTC