What do you want to save?
Add Code snippet
New code examples
-
Javascript 2021-09-24 16:43:05
js catch errors on listeners
// If you would like to access errors thrown from event handlers, // you may listen to the error event on window. // It will be emitted for all uncaught errors in the current JavaScript VM: window.addEventListener('error', function(event) { console.log... Add solution