There are many ways to achieve that. ... BTW. Here is Your fixed code: var fs = require('fs'); function readFile(fileName) { return new Promise((resolve, reject) ...
確定! 回上一頁