Created
November 19, 2017 01:46
-
-
Save kbk0125/eb4a36bfffe336bf722149d8127c65a7 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 unitedStates(){ | |
let drinkingAge = 21; | |
let state = 'massachusetts'; | |
if(state == 'massachusetts'){ | |
let closingTime= '2AM'; | |
console.log(drinkingAge) //21 | |
} | |
console.log(closingTime) //undefined | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment