ES Style Question
Rick Waldron
waldron.rick at gmail.com
Fri Sep 9 10:45:00 PDT 2011
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
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.mozilla.org/pipermail/es-discuss/attachments/20110909/970187b1/attachment.html>
More information about the es-discuss
mailing list