View on GitHub

Devendra's Log

JavaScript style guides

There are several style guides for JavaScript but these are my personal favorites

  1. Felix’s Node.js Style Guide

  2. Google JavaScript Style Guide

  3. Crockford’s Code Conventions for the JavaScript Programming Language

In that order of preference. If you are a beginner, you might want to read them bottom-up.