然后写一个简单的Node.js 脚本来读取文件:. const fs = require('fs');. fs.readFile('./sample.txt', 'utf-8', (err, data) => {. if (err) {.
確定! 回上一頁