摘要:
var module={}; module.exports={}; var exports=module.exports; var module={}; module.exports={}; var exports=module.exports; 阅读全文
posted @ 2017-08-23 14:38
qiqi105
阅读(137)
评论(0)
推荐(0)
摘要:
Module { id: '.', exports: {}, parent: null, filename: 'D:\\000000000000linux\\十五 node\\02-2016-03-03\\视频2\\1.js', loaded: false, children: [], paths: 阅读全文
posted @ 2017-08-23 14:28
qiqi105
阅读(388)
评论(0)
推荐(0)
摘要:
fs.readFile(__dirname+'/../1.txt','utf8',(err,data)=>{ console.log(data.toString()); }); fs.readFile(__dirname+'/../1.txt','utf8',(err,data)=>{ consol 阅读全文
posted @ 2017-08-23 14:16
qiqi105
阅读(122)
评论(0)
推荐(0)
摘要:
递归 循环依赖/死循环 递归 循环依赖/死循环 阅读全文
posted @ 2017-08-23 11:36
qiqi105
阅读(173)
评论(0)
推荐(0)
摘要:
const fs=require('fs'); console.time('timer'); fs.stat('./1.txt',(err,stats)=>{ //console.log(stats); if(err){ console.log('文件不存在'); fs.writeFile('./1 阅读全文
posted @ 2017-08-23 11:23
qiqi105
阅读(153)
评论(0)
推荐(0)
浙公网安备 33010602011771号