Skip to content

Instantly share code, notes, and snippets.

@neagle
Created May 3, 2014 16:37
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save neagle/7bf2ecffe0a223ac2c4b to your computer and use it in GitHub Desktop.
Save neagle/7bf2ecffe0a223ac2c4b to your computer and use it in GitHub Desktop.
Hanging commas
// Totally intolerable
var express = require('express')
, routes = require('./routes')
, http = require('http');
// Better
var express = require('express'),
routes = require('./routes'),
http = require('http');
// Probably best
var express = require('express');
var routes = require('./routes');
var http = require('http');
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment