Skip to content

Instantly share code, notes, and snippets.

@pablotolentino
Created May 19, 2021 01:40
Show Gist options
  • Save pablotolentino/0a4cefde7a281fe2e728b2ac1bed3f31 to your computer and use it in GitHub Desktop.
Save pablotolentino/0a4cefde7a281fe2e728b2ac1bed3f31 to your computer and use it in GitHub Desktop.
try {
throw new Error('esto es un error');
} catch (err) {
console.error(err.message);
}
// resultado: esto es un error
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment