Created
January 19, 2011 17:58
-
-
Save Sannis/786556 to your computer and use it in GitHub Desktop.
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
efimovov@efimovov-pc:~/tmp> cat ./this_func_anon.js | |
setTimeout(function () { | |
throw new Error(); | |
}, 10); | |
efimovov@efimovov-pc:~/tmp> cat ./this_func_named.js | |
setTimeout(function blaBla() { | |
throw new Error(); | |
}, 10); | |
efimovov@efimovov-pc:~/tmp> node this_func_anon.js | |
/home/efimovov/tmp/this_func_anon.js:2 | |
throw new Error(); | |
^ | |
Error | |
at Object._onTimeout (/home/efimovov/tmp/this_func_anon.js:2:9) | |
at Timer.callback (timers.js:95:39) | |
efimovov@efimovov-pc:~/tmp> node this_func_named.js | |
/home/efimovov/tmp/this_func_named.js:2 | |
throw new Error(); | |
^ | |
Error | |
at Object.blaBla [as _onTimeout] (/home/efimovov/tmp/this_func_named.js:2:9) | |
at Timer.callback (timers.js:95:39) | |
efimovov@efimovov-pc:~/tmp> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment