The official asynchronous interface use the callback form: const fs = require('fs'); fs.readFile(filepath, 'utf8', (err, content) => { if(err) return ; .
確定! 回上一頁