Node中部分文件方法对比readFile和readFileSync的比较: var fs ... readFileSync(filename, [encoding]) 由于该方法属于fs模块,使用前需要引入fs模块(var fs= ...
確定! 回上一頁