ES6 Promise 的實作中,會確保Promise 物件一經實體化後就會固定住狀態,要不就是"已實現",要不就是"已拒絕"。 一個簡單的Promise 語法結構如下: const promise = new ...
確定! 回上一頁