MCQ Practice Single Best Answer Topic: Javascript Modules MCQ

Q What do == and!= replace in javascript?

Question ID
#5027
Subchapter
Javascript Modules MCQ
Action
Choose one option below

Choose Your Answer

Click an option to check whether your answer is correct.

  • A It uses bitwise checking
  • B It uses === and !== instead
  • C It uses equals() and notequals() instead
  • D It uses equalto()
Correct Answer: B

Explanation

Crockford's subset of JavaScript does not allow the use of the comma operator, bitwise operators, or the ++ and -- operators. It also requires the use of the strict equality operators === and !== instead of the non-strict equality operators == and !=, due to the type conversion that the latter operators perform.

Share This Question

Share this MCQ with your friends or study group.