mardi 24 décembre 2019

How to deal with multiple errors in js

I want to know how can I get multiple errors in js/jQuery. for example:

window.onerror = function(error) {
  console.log(error);
};

The code above gets only the first error that happens in the browser, but I want some code to get all the errors that happen




Aucun commentaire:

Enregistrer un commentaire