Last active
December 14, 2015 07:39
-
-
Save greg-hellings/5052121 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
function outter() { | |
var out = ''; | |
function inner() { | |
if(typeof out === 'undefined') { | |
console.log('undef'); | |
} else { | |
console.log('def'); | |
} | |
var out = 3; | |
} | |
inner(); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment