conditionals-2 Flashcards

1
Q

Why do you want to avoid using == for comparison?

A

because === is more effieient

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

Do all if statements erquire an else statement?

A

No you don’t always need a fall back return.

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

What is the proper syntax for using the or operator?

A

| is or in conditional statements.

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