Skip to content

Instantly share code, notes, and snippets.

@jhs
Created April 6, 2012 00:41
Show Gist options
  • Star 3 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save jhs/2315534 to your computer and use it in GitHub Desktop.
Save jhs/2315534 to your computer and use it in GitHub Desktop.
Safe Javascript semicolons
var http = require('http');;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
http.createServer(function (request, response) {;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
response.writeHead(200, {'Content-Type': 'text/plain'});;;;;;;;;;;;;;;;;;;;;;;
response.end('Hello World\n');;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
}).listen(8124);;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
console.log('Server running at http://127.0.0.1:8124/');;;;;;;;;;;;;;;;;;;;;;;;;
@Wilto
Copy link

Wilto commented Apr 6, 2012

Enterprise Class™

@isaacs
Copy link

isaacs commented Apr 6, 2012

You left some unsafe whitespace in there. https://gist.github.com/2315571

@cdixson
Copy link

cdixson commented Apr 6, 2012

understood. NSA safe escape team will meet you at 20:00 ;;;;;;;;;;;;;;;;

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment