What is the purpose of the method nodeMap.setNamedItem()?
(a) Sets ID
(b) Sets attribute node
(c) Sets element name
(d) Sets element type
I got this question during a job interview.
This is a very interesting question from HTML DOM in division Caching, Debugging and Animation of JavaScript
Select the correct answer from above options
JavaScript questions and answers, JavaScript questions pdf, JavaScript question bank, JavaScript questions and answers pdf, mcq on JavaScript pdf, JavaScript questions and solutions, JavaScript mcq Test , Interview JavaScript questions, JavaScript Questions for Interview, JavaScript MCQ (Multiple Choice Questions)