Skip to content

Instantly share code, notes, and snippets.

@just-Bri
Last active August 17, 2019 19:42
Show Gist options
  • Save just-Bri/193b542f054f3b9947c3f498456b029f to your computer and use it in GitHub Desktop.
Save just-Bri/193b542f054f3b9947c3f498456b029f to your computer and use it in GitHub Desktop.
Data Types
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