const fs = require('fs');fs.writeFile("/tmp/test", "Hey there!", function(err) { if(err) { return console.log(err); } console.log("The file was saved!");});// Orfs.writeFileSync('/tmp/test-sync', 'Hey there!');
欢迎分享,转载请注明来源:内存溢出
const fs = require('fs');fs.writeFile("/tmp/test", "Hey there!", function(err) { if(err) { return console.log(err); } console.log("The file was saved!");});// Orfs.writeFileSync('/tmp/test-sync', 'Hey there!');
欢迎分享,转载请注明来源:内存溢出
评论列表(0条)