如果要執行此操作,那麼我將從製作基於promise 的readLine問題函式開始: const question = (str) => new Promise(resolve => rl.question(str, resolve));
確定! 回上一頁