Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
try {
const y = x
} catch(err) {
console.log(err.name + ': ' + err.message);
}
> ReferenceError: x is not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment