What will be the return value of the write() method when the Node cannot write the data immediately and has to buffer it internally?

A 0
B 1
C True
D False

Correct Answer: False

The write() method writes HTML expressions or JavaScript code to a document. The write() method is mostly used for testing: If it is used after an HTML document is fully loaded, it will delete all existing HTML. write() method never blocks. If Node cannot write the data immediately and has to buffer it internally, the write() method returns false.

Related Questions

Which of the following Node types have a node value equal to null?
Which node type represents the root-node of the DOM tree?
The node directly above a node is called

Next steps