MCQs > IT & Programming > Prototype Programming > Which of the given options is the result of the following code snippet?
new Builder.node('div', {className: 'error'}, 'Error');

Prototype Programming MCQs

Which of the given options is the result of the following code snippet?
new Builder.node("div", {className: "error"}, "Error");

Answer

Correct Answer: Create a div tag that has "error" as class name and contains "Error" text.

Explanation:

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

Prototype Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it

search

Prototype Programming Skill Assessment

Overall Skill Level-Poor

Your Skill Level: Poor

Retake Quizzes to improve it