P E N C I L
Login
JS code style guide

function HouseClass(vars
   this.method = method;
   function method() {
   } 
}  

  1. Scope is isolated, all external access are provide thourgh constructor variable (same name)
  2. All method are defined as inner function and they are placed at the end