Javascript Operators and Expressions Flashcards
1
Q
What data type is returned by arithmetic operations?
A
Numbers
2
Q
What is string concatentation?
A
Combining multiple strings together
3
Q
What purpose(s) does the +
sign operator serve in javascript?
A
Mathematical addition or concatenation
4
Q
What data type is returned by comparing two values (<
, >
, ===
, etc) ?
A
Boolean
5
Q
What does the +=
“plus-equals” operator do ?
A
Performs addition which could either be numeric or concatenation on the two operands and then assigns the result to the left of the operand