const readFilePromise = require('fs-readfile-promise'); (async () => { const buffer = await readFile('path/to/a/file'); buffer.
確定! 回上一頁