Function.prototype, [[Call]] and [[Construct]]

2009-11-09 Thread Garrett Smith
[[Construct]] of Function.prototype is not standardized. The definition of Function.prototype does not define the expected behavior for [[Call]] or [[Construct]]. Instead, there is a description of what happens when it is invoked: | 15.3.4 Properties of the Function Prototype Object | The

Re: Function.prototype, [[Call]] and [[Construct]]

2009-11-09 Thread Juriy Zaytsev
On Nov 10, 2009, at 12:10 AM, Garrett Smith wrote: On Mon, Nov 9, 2009 at 8:05 PM, Juriy Zaytsev kangax@gmail.com wrote: On Nov 9, 2009, at 6:50 PM, Garrett Smith wrote: [[Construct]] of Function.prototype is not standardized. [...] If you look into Section 15 — Native ECMAScript