Question · JavaScript and TypeScript course · Module 1: JavaScript Basics

Logical Operator &&

When does the logical operator && (AND) return true?

Answer options

  • When at least one operand is true
  • When both operands are true
  • When both operands are false
  • When at least one operand is false
Show the answer

Correct answer:

  • When both operands are true