MCQs > IT & Programming > JavaScript > Which uses the 'with' statement in JavaScript correctly?

JavaScript MCQs

Which of following uses the "with" statement in JavaScript correctly?

Answer

Correct Answer: with (document.getElementById("blah").style) { background = "black"; color = "blue"; border = "1px solid green"; }

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