如果你有看過其他的Promise 教學,使用 then 方法與 catch 來組成一個有錯誤處理的流程,例如像以下的範例程式,來自JavaScript Promises: asyncThing1() .then ...
確定! 回上一頁