window.addEventListener('error', ()=>{ console.log('addEventListener') }, true); window.addEventListener("unhandledrejection", function(e) { console.log('unhandledrejection') }, true); throw new Error(); // "addEventListener" 复制代码 异步错误 window.addEventLi...