Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
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