ES Style Question
Mark S. Miller
erights at google.com
Fri Sep 9 11:10:31 PDT 2011
leaving a space between "function" and "(" for anonymous functions.
On Fri, Sep 9, 2011 at 10:45 AM, Rick Waldron <waldron.rick at gmail.com>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.
> es-discuss mailing list
> es-discuss at mozilla.org
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the es-discuss