Created
November 19, 2017 02:22
-
-
Save kbk0125/0edd2594c266f7b6ac4c257b8aef98ee 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; | |
function passDrinkingLaw(){ | |
drinkingAge = 18; | |
// when this function runs, it changes the | |
//variable for the whole united states function | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment