$ ./guess_the_languageProblem Solving — fill the blank
Problem Solving — fill the blank · easy · #95

What goes in the blank?

// returns true only if both conditions are true
function bothTrue(a, b) {
  return a ____ b;
}

Answer: && (also accepted: &&)

The && operator is true only when both operands are true.
Play Problem Solving ▸