重視前端技術從node.js開始

樓主跟着大家一步一步開始學習node.js!!!!!!求推薦好書啊

var http = require("http");

http.createServer(function(request,response){
	response.writeHead(200,{'Content-Type':'text/plain'});
	response.end('hello world');
}).listen(8888);

console.log('server running at http://127.0.0.1:8888/');


發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章