What's the deal with booleans?
true
or false
<
and >;
return boolean
-type values+
and -
return boolean
-type valuesFantastic! Booleans are a primitive type the values of which can only be true
or false
and are the result of comparisons not operations.
Not quite! Booleans are a primitive type the values of which can only be true
or false
and are the result of comparisons not operations.