Defining properties and naming conventions in JavaScript
I've been a good JavaScript programmer and adhered to the coding conventions enlisted by Douglas Crockford . However JavaScript has evolved since then and I believe the naming conventions are now outdated. For example Crockford said: Do not use _ (underbar) as the first character of a name. It is sometimes used to indicate privacy, but it does not actually provide privacy. If privacy is important, use the forms that provide private members . Avoid conventions that demonstrate a lack of competence. However JavaScript now allows you to create non-enumerable properties. Hence it makes sense (at