[webkit-dev] Question about Constructors in WebKit JS Bindings

Darin Adler darin at apple.com
Tue Jun 23 12:37:43 PDT 2009


On Jun 23, 2009, at 11:50 AM, Adam Barth wrote:

> Is there a good way to tell if something is a constructor versus a  
> function?

Leading capital letter may be a good rule to start with. I don't think  
we have plans to add functions that start with a capital letter or  
constructors that do not.

     -- Darin



More information about the webkit-dev mailing list