Created
March 26, 2020 00:31
-
-
Save lucasjlatour/5e57a4dda749cf3e10b9d45ec3ae23fe to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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