摘要:
2019-12-16 20:12:38 require('http').createServer(function(req,res){ res.writeHead(200,{'Content-Type':'text/html'}); res.end('<h1>Hello World</h1>'); 阅读全文
posted @ 2019-12-16 21:04
JasonPeng1
阅读(218)
评论(0)
推荐(0)
摘要:
2019-12-16 17:05:54 var fs = require('fs'); fs.readdir(__dirname,function(err,files){ console.log(files); }); /** * Module dependencies. */ var fs = r 阅读全文
posted @ 2019-12-16 20:08
JasonPeng1
阅读(268)
评论(0)
推荐(0)
摘要:
2019-12-16 16:32:11 console.log(1); process.nextTick(function(){ console.log(3); }); console.log(2); module_a.js exports.name = 'john'; exports.data = 阅读全文
posted @ 2019-12-16 17:05
JasonPeng1
阅读(131)
评论(0)
推荐(0)
摘要:
2019-12-16 13:20:53 1.1 一个典型的 Node Web 应用程序 大体上来说,Node 和 JavaScript 的优势之一是它们的单线程编程模型。多个线程一般会引入 bug,尽管一些新的编程语言,包括 Go 和 Rust,试图提供更加安全的并发工具,但 Node 仍然保 留了 阅读全文
posted @ 2019-12-16 16:30
JasonPeng1
阅读(554)
评论(0)
推荐(0)
摘要:
2019-12-16 13:14:51 GitHub:https://github.com/greatabel/JsRepository/tree/master/03Learning%20Vue.js%202 阅读全文
posted @ 2019-12-16 13:21
JasonPeng1
阅读(224)
评论(0)
推荐(0)

浙公网安备 33010602011771号