Last active
November 21, 2019 06:18
-
-
Save koush/938bf8926d816aae7866969aca337d67 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
function foo1() { | |
throw new Error(); | |
} | |
function foo2() { | |
try { | |
foo1(); | |
} | |
catch (e) { | |
throw e; | |
} | |
} | |
function foo3() { | |
try { | |
foo2(); | |
} | |
finally { | |
} | |
} | |
function foo4() { | |
try { | |
foo3(); | |
} | |
finally { | |
} | |
} | |
foo4(); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is correct.