Race day

Why do booleans work diferently in if conditionals, and i just need to write the variable itself like this ?

we could write: variable === true, which would result in either true or false, so just writing variable is a shorthand

1 Like

I understand, but if i am not using the shorthand it will not print " Runner will race at 11:00 pm".

comparison (== and ===) is different from assignment (=)