Clicksco / Front-End

Organisation Front End Documentation & Tooling
http://docs.clicksco.com/frontend
2 stars 1 forks source link

You SHOULD name any constructors which you create using Pascal Case #61

Closed BenjaminRCooper closed 10 years ago

BenjaminRCooper commented 10 years ago

This allows for consistency and better readability, as it is considered a convention within JavaScript.

Example:

var MyConstructorFunction = function() {

}

var myInstance = new MyConstructorFunction();
iamrossgrant commented 10 years ago

+1

jonspark commented 10 years ago

+1

ampersarnie commented 10 years ago

+1

BenjaminRCooper commented 10 years ago

Implemented