1. var http = require('http');
server = http.createServer(function (req, res) {
res.writeHeader(200, {"Content-Type": "text/plain"});
res.end("Hello World\n");
});
server.listen(8000);
console.log("httpd start
@8000");
3.
@罐子,你无非就是装了一个ghost,怎么这两天又迷上js了?