All challenges
Multiple ChoiceIntermediate 30s

Logical Operators

Choose the best answer for: && and || return values
Options
  1. 1&& and || only operate on strict booleans
  2. 2&& returns the first falsy or last truthy value
  3. 3The && operator always returns a boolean
  4. 4|| returns undefined when both are truthy

Think you can answer under pressure?

Get matched and answer live questions in 3-minute 1v1 battles. Elo ranking, badge tiers and bragging rights on the line.

Play this in a 3-minute battle