new Promise(function(resolve,reject) { setTimeout(() => { throw new Error("Whoops!"); }, 1000);}).catch(alert);答案是不能。