Why use a style guide?
Most medium and large software projects have a style guide to ensure different developers write code in a consistent way. Styles guides document coding conventions on topics like file names, variable names and code indentation. This article explains why they are beneficial and gives tips on how to adopt them.
JavaScript Code Readability