You are viewing a single comment's thread. Return to all comments →
How does that contradict what that guy said? You wrote different code than what he wrote. You're exploiting "truthy/falsey" values; the other guy's just using regular booleans
check again. he also used == signs to evaluate it to a boolean expression.
the == operator evaulatues the conditon to a boolean