Javascript-operators &expressions Flashcards
1
Q
What data type is returned by an arithmetic operation?
A
a number
2
Q
What is string concatenation?
A
2 different string & becomes a string
3
Q
what purposes(s) does the + plus operator serve in JavaScript?
A
add 1 value to another
4
Q
what data type is returned by comparing two values (,===, etc)?
A
true or false
5
Q
What does the += “plus-equals” operator do?
A
update the variable, & add