Created
March 5, 2017 08:27
-
-
Save ryyppy/bd24b0d1f943e670c82e68fd670214ab to your computer and use it in GitHub Desktop.
Why JavaScript debugging is hard
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
/** | |
* 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