完整读取文件可以使用fs模块的 readFile 或 readFileSync 方法。看名字就知道,前者是异步方法,后者是同步方法。 fs.readFile( filename, [options] ...
確定! 回上一頁