08 2019 档案

摘要:// http.js //引入内置http模块 var http = require("http") // 创建服务器 var server = http.createServer(function(req,res){ // //设置响应状态码,响应头(编码格式) res.writeHead(200 阅读全文
posted @ 2019-08-11 22:35 Silence_1018 阅读(3) 评论(0) 推荐(0) 编辑
摘要:<script type="text/javascript"> //自定义一个构造函数 function Fun(){} //利用上面的构造函数构造一个实例 var fun1 = new Fun() console.log(fun1 instanceof Fun) //true console.lo 阅读全文
posted @ 2019-08-11 22:19 Silence_1018 阅读(14) 评论(0) 推荐(0) 编辑

点击右上角即可分享
微信分享提示