day 2 Flashcards
1
Q
boolean expression examples
A
age == 5
age >= 18
2
Q
exactly equal to
A
==
3
Q
&&
A
combine two boolean expressions into a larger compound boolean expression
4
Q
&& example
A
let compoundBool = firstBooleanExpression && secondBooleanExpression
5
Q
or operator ||
A
let compoundBool = firstBooleanExpression || secondBooleanExpression
6
Q
not
A
!