Re: [heycam/webidl] Throw when not calling interfaces as constructors (#205)

domenic commented on this pull request.



>  
 <ol class="algorithm">
     1.  If |I| was not declared with a [{{Constructor}}]
         [=extended attribute=], then
         <a lt="es throw">throw a <emu-val>TypeError</emu-val></a>.
+    1.  If |newTarget| is <emu-val>undefined</emu-val>, then

Yeah. I guess just remove that "and |newTarget| as the NewTarget value" to conform to ES functions.

-- 
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/pull/205

Received on Wednesday, 26 October 2016 01:19:13 UTC