To read a text file into an array, use the `fsPromises.readFile()` method to read the file's contents. Await the promise that the method returns.
確定! 回上一頁