Javascript-operators &expressions Flashcards

1
Q

What data type is returned by an arithmetic operation?

A

a number

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

What is string concatenation?

A

2 different string & becomes a string

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

what purposes(s) does the + plus operator serve in JavaScript?

A

add 1 value to another

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

true or false

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

update the variable, & add

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