MCQs > IT & Programming > JavaScript > The following codes are for comparing equality operators '==' and '===' in JavaScript. Which are the correct results?

JavaScript MCQs

The following codes are for comparing equality operators "==" and "===" in JavaScript. Which of the following are the correct results?

Answer

Correct Answer: var a = { x: 1, y: 2 }; var b = { x: 1, y: 2 }; return (a == b); result: true

Explanation:

Note: This Question is unanswered, help us to find answer for this one

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

JavaScript Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it