第二:reject是Promise的方法,而then和catch是Promise实例的 ... const promise = new Promise((resolve, rejected) => { throw new Error('test'); } ...
確定! 回上一頁