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;
// this would throw an error
}
passDrinkingLaw();
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment