Permalink
Browse files

The hello world program.

  • Loading branch information...
1 parent 7e1c381 commit 98b87823ef31796328256809722ba15d1a2c7769 @isaacs committed Sep 13, 2010
Showing with 4 additions and 0 deletions.
  1. +4 −0 server.js
View
@@ -0,0 +1,4 @@
+require("http").createServer(function (req, res) {
+ res.writeHead(200, {})
+ res.end("Hello, world!")
+}).listen(80)

0 comments on commit 98b8782

Please sign in to comment.