fetch function return Promise <pending>. response.json() in node-fetch library also returns a promise, instead try fetch('someurltoAJsonFile.json') ...
確定! 回上一頁