Created
April 21, 2020 18:37
-
-
Save Jagathishrex/7f7dcd8b42bdba13f1bae578d20e1f91 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| window.onerror = function(e) { | |
| console.log("error handled", e); | |
| } | |
| function funcWithError() { | |
| a; // a is not defined | |
| } | |
| function test() { | |
| funcWithError(); | |
| console.log("hi"); // this will not be executed | |
| } | |
| test(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment