Re: [heycam/webidl] How to do aliases of legacy interfaces (HTMLDocument, WebKitCSSMatrix...) (#362)

> NamedConstructor would break instanceof checks

Why, exactly?  I don't think it would.  Instanceof checks compare the proto chain of the LHS to the .prototype of the RHS.  So as long as the .prototype values match instanceof will be fine.

-- 
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/362#issuecomment-301804447

Received on Tuesday, 16 May 2017 14:42:54 UTC