Created
October 6, 2016 14:31
-
-
Save mynameislau/de21701356f1b961d99fed53d06dedf5 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
let name = 'Jean'; | |
if (true) { | |
let name = 'Pierre'; | |
console.log(name); // output : Pierre | |
} | |
console.log(name); // output : Jean |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment