Q: Which of the following is not a logical operator in JavaScript?
A. &&
D
Answer:
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.
Related Topic:
Share Above MCQ