MCQs > IT & Programming > JavaScript > The output for the code would be var a=5 , b=1 var obj = { a : 10 } with(obj) { alert(b) }

JavaScript MCQs

The output for the following code snippet would most appropriately be var a=5 , b=1 var obj = { a : 10 } with(obj) { alert(b) }

Answer

Correct Answer: 1

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