Skip to content

Instantly share code, notes, and snippets.

@bipinrajbhar
Created April 28, 2020 12:12
function one() {
// throws an error
throw new Error("Oops");
}
function two() {
return one() + 1;
}
function three() {
return two() + 1;
}
console.log(three());
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment