再來看看透過 async / await 改寫一下上面的例子: function runTime(time, person) { return new Promise((resolve, reject) => { setTimeout(() => { resolve(`$ ...
確定! 回上一頁