Skip to content

Instantly share code, notes, and snippets.

@kbk0125
Created November 19, 2017 02:34
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