Last active
March 26, 2020 22:01
-
-
Save aymericbouzy/f359533ce509d08e87ee60ff6358e0cb 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
let finalError | |
try { | |
throw "oups!"; | |
} catch(error) { | |
throw "so clumsy..."; | |
} catch(error) { | |
finalError = error | |
} | |
console.log("hello!"); | |
if (finalError) { | |
throw finalError; | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment