Skip to content

Instantly share code, notes, and snippets.

Last active Nov 19, 2017
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
// error, drinkingAge not defined
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment