普通函式定義前加async關鍵字普通函式變成非同步函式; 非同步函式預設返回promise ... const fs = require('fs'); // fs中readFile()方法的返回結果 ...
確定! 回上一頁