-
-
Save bipinrajbhar/d6ea7ae24cc9e10ce498355db30d9603 to your computer and use it in GitHub Desktop.
This file contains 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
function one() { | |
// throws an error | |
throw new Error("Oops"); | |
} | |
function two() { | |
return one() + 1; | |
} | |
function three() { | |
return two() + 1; | |
} | |
console.log(three()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment