Home / Programming MCQs / JavaScript MCQs / Question

M

Mr. Dubey • 51.43K Points
Coach

Q. 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
Explanation by: Mr. Dubey
The write() method never blocks. If Node cannot write the data immediately and has to buffer it internally, the write() method returns false.

You must be Logged in to update hint/solution

Discusssion

Login to discuss.