What is the procedure to add methods to HTMLElement so that they will be inherited by the objects that represent the HTML tags in the current document?
(a) HTMLElement.prototype(…)
(b) HTMLElement.prototype
(c) HTML.addmethods()
(d) HTML.elements(add)
The question was posed to me in quiz.
My query is from Augmentation of Classes in division Classes and Modules in JavaScript 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)