Last active
August 17, 2019 19:42
-
-
Save just-Bri/193b542f054f3b9947c3f498456b029f to your computer and use it in GitHub Desktop.
Data Types
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 = "First Last"; | |
2. console.log(mentor); | |
3. let and var are interchangable now, I think? The scope is different: var is function scoped and let is block scoped. | |
const is used to create a variable that you will not be changing, a constant. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment