What data type is a sequence of text enclosed in single quote marks?
string
List 4 types of JavaScript operators:
(=) (assignment)
(+) (addition)
(-) (subtraction)
(/) (division)
Describe a real world problem you could solve with a function:
a simple function that takes two numbers as arguments and multiplies them
An if statement checks a ___ and if it evaluates to ___ then the code will execute.
condition, true
What is the use of an else if statement?
It can provide more than two outcomes.
List 3 different types of comparison operators:
(strictly equals) ===
(strictly not equals) !==
(less than) <
What is the difference between the logical operator && and
?
&& allows you to chain together multiple expressions so that all of them have to individually evaluate to true for the whole expression to run.
allows you to chain together multiple expressions so that one or more of them have to individually evaluate to true for the whole expression to return true.