1.

What is the function of the method importNode()?(a) Copies without removing(b) Copies and removes(c) Only copies(d) Only removesThe question was posed to me in final exam.I want to ask this question from JavaScript Benchmarking and Logging with perfLogger in portion Parsing, Benchmarking and Logging of JavaScript

Answer»

Correct OPTION is (a) COPIES without REMOVING

The explanation is: The importNode() method imports a node from ANOTHER document. The imported node can be of all node types. The method importNode() copies a node from another document without removing it.



Discussion

No Comment Found

Related InterviewSolutions