摘要:
思想 : 先读取 , 再追加 const fs = require('fs') fs.readFile("./hello.txt","utf-8",(err,data)=>{ if(!err){ fs.writeFile("./hello.txt",data+" 追加内容 ",(err)=>{ if 阅读全文
posted @ 2019-05-25 15:48
武卡卡
阅读(380)
评论(0)
推荐(0)
摘要:
nodejs =》 提供核心模块语法 node中的回调函数 都是异步 阅读全文
posted @ 2019-05-25 15:36
武卡卡
阅读(92)
评论(0)
推荐(0)

浙公网安备 33010602011771号