Last active
July 13, 2019 19:12
-
-
Save camelcaseblog/570dfa304f144c25ebf2aa7a234e2730 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 “this is an error”; | |
} catch(err) { | |
console.log(err.name + ': ' + err.message); | |
} | |
> undefined: undefined |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment