I like http://javascript.crockford.com/code.html , though I disagree with leaving a space between "function" and "(" for anonymous functions.
http://www.jslint.com/ On Fri, Sep 9, 2011 at 10:45 AM, Rick Waldron <[email protected]>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 > [email protected] > https://mail.mozilla.org/listinfo/es-discuss > > -- Cheers, --MarkM
_______________________________________________ es-discuss mailing list [email protected] https://mail.mozilla.org/listinfo/es-discuss

