MCQ Single Best Answer Easy

QWhat do == and!= replace in javascript?

ID: #5027 Javascript Modules MCQ 180 views
Question Info
#5027Q ID
EasyDifficulty
Javascript Modules MCQTopic

Choose the Best Option

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

  • A It uses bitwise checking
  • B It uses === and !== instead
  • C It uses equals() and notequals() instead
  • D It uses equalto()
Correct Answer: Option 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

Challenge a friend or share with your study group.