For example p = new Promise(function (resolve, reject) { throw 'err'; }); p.done(); In most promise polyfill libs, the done will throw an error, ...
確定! 回上一頁