MCQ Single Best Answer Not Set

QWhich of the following is not a logical operator in JavaScript? A. &&

ID: #4859 Basic JavaScript MCQ 280 views
Question Info
#4859Q ID
Not SetDifficulty
Basic JavaScript MCQTopic

Choose the Best Option

Click any option to instantly check if you're correct.

  • A &&
  • B ||
  • C !
  • D in
Correct Answer: Option D

Explanation

in is not a logical operator in JavaScript.
Logical operators in JavaScript include && (and), || (or), and ! (not).
in is an operator that is used to check whether an object has a property with a given name.

Share This Question

Challenge a friend or share with your study group.