node.js在执行js文件时出现SystaxError:Unexpected token LILEGAL的错误
var http = require('http'); http.createServer(function (request, response) {
response.writeHead(200, {'Content-Type': 'text/plain'});
response.end('Hello World\n');
}).listen(8888);// 终端打印如下信息
con
原创
2016-12-19 10:35:23 ·
2179 阅读 ·
0 评论