This review covers:
• Intro JavaScript (What is it, where can you use it for)
• Variables [var, let, const]
• Basic value types [Strings, Numbers, Arrays, Booleans]
• Operators
• Naming conventions
A "variable" is a place where you can store information, such as a string, or a number. A variable has a name (that you choose) and a value. New variables in JavaScript are declared using one of three keywords: let, const, or var.
Values are the "things" that you assign to a variable. All values have a type. In our example above, the variable x is assigned a value of type number. JavaScript supports the following types:
- Comparison operators (equality, relational)
- Arithmetic operators
- Logical operators
typeofoperator- Assignment operators
In programming you will need to come up with appropriate names for your variables and functions.