第1步:将File System内置模块包含到Node.js程序中. var fs = require('fs'); · 步骤2:使用readFile函数读取文件 · 第3步:创建一个示例文件,例如sample.html,其中包含 ...
確定! 回上一頁