var throwPromise = new Promise(function(resolve, reject) { throw 'value thrown'; }); throwPromise.catch(function(result) { console.log('caught: ...
確定! 回上一頁