Created
December 3, 2014 14:41
-
-
Save a0viedo/1e3693851b61f935f379 to your computer and use it in GitHub Desktop.
This must throw an error, right?
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
var http = require('http'); | |
var server = http.createServer(function(req, res){ | |
res.write('hi'); | |
res.end(); | |
res.write('hi again'); | |
}); | |
server.listen(8080, function(){ | |
console.log('initialized'); | |
}); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment