Variables
- Variables give a label for data
- Variables are assigned with "const", "let", or "var"
- var is discouraged (obsolete?)
- The label can be re-pointed to new data if you use "let"
- The label can be re-pointed to different types of data if you use "let"
const myName = "Ryan";
let myAge = 28;
const isATeacher = true;
const obj =
{ firstName: "Ryan", lastName: "Kadri" };
const nothing = null;
6 / 19