Nodejs入门编写hello world

一、安装nodejs 下载:https://nodejs.org/en/download/ 二、编写 helloworld.js //创建web服务器 var http=require('http'); http.createServer(function(request,response){ const body = 'hello world'; response.writeHead(200
相关文章
相关标签/搜索