javascript-operators-and-expressions Flashcards
What data type is returned by an arithmetic operation?
The data type that is returned by an arithmetic operation is an integer value.
What is string concatenation?
Concatenation is the process of appending one string to the end of another string. You concatenate strings by using the + operator.
What purpose(s) does the + plus operator serve in JavaScript?
The + operator is used to perform both addition and string concatenation in Javascript.
What data type is returned by comparing two values (, ===, etc)?
The data type that is returned by comparing two values is a boolean (true/false statement).
What does the += “plus-equals” operator do?
The += “plus-equals” operator adds the value on the right, to the variable on the left, and then assigns that value back into the variable on the left.