Skip to content

Instantly share code, notes, and snippets.

@kbk0125
Last active Nov 19, 2017
Embed
What would you like to do?
const unLawOne = 'Slavery is prohibited';
const unLawTwo = 'Chemical weapons are prohibited';
function unitedStates() {
let drinkingAge = 21;
console.log(drinkingAge) // 21
console.log (unLawOne) // Slavery is prohibted
}
console.log(drinkingAge)
// error, drinkingAge not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment