/callstack.js Secret
Created
April 28, 2020 12:12
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
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