MCQs > IT & Programming > JavaScript > The following program has a problem. What is it? var a; var b = (a = 3) ? true : false;

JavaScript MCQs

The following program has a problem. What is it? var a; var b = (a = 3) ? true : false;

Answer

Correct Answer: The condition in the ternary is using the assignment operator.

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