Created
December 12, 2013 21:28
-
-
Save JoshMock/7935786 to your computer and use it in GitHub Desktop.
This file contains hidden or 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 myFn1 (arg1) { | |
var var1 = doSomethingWith(arg1), // set breakpoint here | |
var2 = doSomethingElseWith(var1); | |
_.each([1, 2, 3], function (val) { | |
doAnotherThingWth(var2); // var2 is still available in dev tools here, but var1 is not | |
}) | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment