Last active
March 10, 2017 07:30
-
-
Save biirus/0df8cc1cd1a4a5b9a0775528a04d5196 to your computer and use it in GitHub Desktop.
Q2 #tags: interview
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
var x = 1; | |
function a () { | |
if (x) { | |
var x = 2; | |
} | |
return x; | |
} | |
console.log(a()); |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment