Skip to content

Instantly share code, notes, and snippets.

@ryyppy
Created March 5, 2017 08:27
Show Gist options
  • Save ryyppy/bd24b0d1f943e670c82e68fd670214ab to your computer and use it in GitHub Desktop.
Save ryyppy/bd24b0d1f943e670c82e68fd670214ab to your computer and use it in GitHub Desktop.
Why JavaScript debugging is hard
/**
* What is the result of this program?
*/
function g() {
console.log('g called')
}
function f() {
g()
['hello', 'world'].forEach((s) => console.log(s))
}
f();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment