Created
May 19, 2021 03:17
-
-
Save pablotolentino/ab4e9af6060e204a0db92daedc1d8604 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
try { | |
throw new Error('el error'); | |
} catch (err) { | |
console.error(err.message); | |
} finally { | |
console.error('finally'); | |
} | |
// Resultado: | |
// el error | |
// finally |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment