前端异常处理
1 异常隔离
try {} catch {}
主要场景 vm js 代码
2 promise 异常处理
promise.then().catch()
主要场景处理 try catch 无法捕获的异常
Be the first to know when I post cool stuff
Subscribe to get my latest posts by email.
Thanks for signing up! Check your email to confirm your subscription.
Whoops, we weren't able to process your signup.