new Promise(function(){}).then(function(){throw "err"}) setTimeout(function(){alert("no Error:)")}, 1000)