javascript-operators-and-expressions Flashcards
1
Q
What data type is returned by an arithmetic operation?
A
Number.
2
Q
What is string concatenation?
A
When two strings are combined.
3
Q
What purpose(s) does the + plus operator serve in JavaScript?
A
Add numbers or concatenate strings.
4
Q
What data type is returned by comparing two values (, ===, etc)?
A
Boolean (true of false).
5
Q
What does the += “plus-equals” operator do?
A
It adds the value of the right operand to the variable and assigns the result of the variable.