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

tobie 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

Oh, indeed, in [section 17](https://tc39.github.io/ecma262/#sec-ecmascript-standard-built-in-objects):

> In the description of a particular function, the terms “this value” and “NewTarget” have the meanings given in 9.3.

Should we maybe link the term to [section 9.3](https://tc39.github.io/ecma262/#sec-built-in-function-objects)?


-- 
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 Thursday, 27 October 2016 15:11:33 UTC