What is the console?
It’s a panel that displays messages. A lot of our code is invisible to us by default so if we want to see things we can print or log to the console.
What does a semicolon do?
Indicates the end of a line or statement.
What are the Primitive Data Types?
String, Number, Object, Boolean, Symbol, Null, Undefined
What is Math and name two methods you can call on Math.
Math is a built-in object.
Give two points about let
Why would you want the ability to reassign values to a variable? For instance, why use let?
One example could be to update user input. Another example could be a quiz website. A user would start with 0 points, but end up with more so the need to continuously update/reassign values is essential.
Give two points about const
2. Const variable cannot be reassigned
what does typeOf do?
Checks the data type of a variable’s value