Re: [heycam/webidl] Should specify that all JS functions created by IDL are "built-in functions" (#106)

> Built-in function objects that are not identified as constructors do not implement the [[Construct]] internal method unless otherwise specified in the description of a particular function. 

This is tested in various test262 tests for e.g. the various functions created for during promises. It's observable by using a proxy.

Interfaces could have a throwing [[Construct]], but methods should have no [[Construct]] at all.

---
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/106#issuecomment-209524755

Received on Wednesday, 13 April 2016 16:04:37 UTC