Javascript Operators and Expressions Flashcards

1
Q

What data type is returned by arithmetic operations?

A

Numbers

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is string concatentation?

A

Combining multiple strings together

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What purpose(s) does the + sign operator serve in javascript?

A

Mathematical addition or concatenation

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What data type is returned by comparing two values (<, >, ===, etc) ?

A

Boolean

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
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

How well did you know this?
1
Not at all
2
3
4
5
Perfectly