ES Style Question

Mark S. Miller erights at
Fri Sep 9 11:10:31 PDT 2011

I like , though I disagree with
leaving a space between "function" and "(" for anonymous functions.

On Fri, Sep 9, 2011 at 10:45 AM, Rick Waldron <waldron.rick at>wrote:

> I was wondering if a canonical guide for ECMAScript style and conventions
> exists - specifically I'm curious to find out what the historic precedence,
> rules and reasoning behind the capitalization of constructors and built-in
> objects, ie. Array or Math. Even _more_ specifically, there exists a fairly
> common convention that first letter capitalization is generally reserved for
> constructors that expect to be paired with "new"... obviously this is not a
> hard rule, but I'm curious if any documentation or articles exist regarding
> the subject.
> Thanks!
> Rick
> _______________________________________________
> es-discuss mailing list
> es-discuss at

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <>

More information about the es-discuss mailing list