Learning Goals
- Create variables with
let. - Update variable values.
- Use
typeofto check a data type.
JavaScript Foundations
Now we store real values in variables and print them clearly.
let.typeof to check a data type.When we write this, we mean each variable stores one piece of information.
// Save as lesson2.js
let internName = "Patricia";
let week = 1;
let isPresent = true;
week = week + 1;
console.log(internName);
console.log(week);
console.log(isPresent);
console.log(typeof internName);
console.log(typeof week);
let for now in this track.node lesson2.js in your terminal.isMorning.