0 votes
in JavaScript by
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

1 Answer

0 votes
by

Answer:-  D

Reason: 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

0 votes
asked Mar 20, 2021 in JavaScript by sharadyadav1986
0 votes
asked Mar 23, 2021 in JavaScript by sharadyadav1986
...