這是怎么出來(lái)的,還有我的node的網(wǎng)頁(yè)和老師的不一樣?。?/h1>

這是怎么出來(lái)的,

我的node的網(wǎng)頁(yè)和老師的不一樣?。?/p>
var?http?=?require('http');
http.createServer(function(req,res){
????res.writeHead(200,{'Content-type':'text/plain'});
????res.end('Hello?World\n');
}).Listen(1337,'127.0.0.1');
console.log('Server?running?at?http://127.0.0.1:1337/');這段代碼哪里下載?

這是怎么出來(lái)的,

我的node的網(wǎng)頁(yè)和老師的不一樣?。?/p>
var?http?=?require('http');
http.createServer(function(req,res){
????res.writeHead(200,{'Content-type':'text/plain'});
????res.end('Hello?World\n');
}).Listen(1337,'127.0.0.1');
console.log('Server?running?at?http://127.0.0.1:1337/');這段代碼哪里下載?
2018-12-19
運(yùn)行是錯(cuò)誤,說(shuō)是缺乏對(duì)象?
2018-07-26
https://cnodejs.org/topic/52df777778990b041181d963