orderIds.map(id => ({ id })); return Promise.resolve(orders); ... Promise 和async/await 可以執行在Node.js 和瀏覽器(但可能要轉譯)。
確定! 回上一頁