Skip to content

Instantly share code, notes, and snippets.

@lucasjlatour
Created March 26, 2020 00:31
Show Gist options
  • Save lucasjlatour/5e57a4dda749cf3e10b9d45ec3ae23fe to your computer and use it in GitHub Desktop.
Save lucasjlatour/5e57a4dda749cf3e10b9d45ec3ae23fe to your computer and use it in GitHub Desktop.
1.
let mentor = "Frank";
2.
console.log(mentor);
3.
with const you can't reassign variables.
with let you can reassign, it has different scope properties than var
var is the old keyword for a variable that can be reassigned
4.
var name = "Lucas La Tour";
let state = "California";
const hair = "blonde";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment