Level 1M3Lesson 3.2

beginner35 minby DevFox

Logical operators, truthy and falsy values

Join two questions into one condition with && and ||, turn an answer around with !, and learn the six values a condition reads as false. See why a space and “0” are truthy, why && stops before .trim() can run on a missing task, and make TaskKit refuse a task that is only spaces.

  • Fundamentals
  • TypeScript
Logical operators, truthy and falsy values. Read this lesson at .