How do you handle error and exception in javascript? What is the recommended one?
JavaScript in the browser, I simply log the error to my backend and then write code to prevent that error in the future.
Wrote a mini library last year to make it easier: github.com/jVaaS/onerrorjs
Dong Nguyen
Web Developer
Can Promise be counted as a great solution?