1. Home
  2. Computer Science MCQs
  3. Javascript
  4. Which operator short-circuits in JS?

Added 14 Sep 2025

Which operator short-circuits in JS?

  1. &
  2. && Correct answer
  3. ??
  4. |

Correct answer

B. &&

14 views

MCQSEXAM

Explanation

&& stops if left operand is falsy.

Reference

https://developer.mozilla.org/en-US/docs/Web/JavaScript/Reference/Operators/Logical_AND

Doubts & discussion

Not sure why the answer is B? Ask here and get an explanation.

Ask a doubt about this MCQ

Shown after review. No links please.

More Javascript MCQs

Practise all Javascript MCQs

Similar MCQs