Home / Programming MCQs / Machine Learning MCQs / Question
M
Q. 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?
It is implementation-dependent whether classes defined by the host environment (such as the web browser) can be augmented using Object.prototype. In many web browsers, for example, you can add methods to HTMLElement.prototype and those methods will be inherited by the objects that represent the HTML tags in the current document.
You must be Logged in to update hint/solution
Which is the method to look up the objects for a range of keys?
Which is the opposite to the load event in JavaScript?
What is the most essential purpose of parantheses in regular expressions ?
High entropy means that the partitions in classification are
Discusssion
Login to discuss.