Discussion Forum : Server-side And Client-side Scripting
Question - When the "end event fires on EOF when no more data will arrive, which function is called?
Options:
A .  s.on("data",f);
B .  s.on("end",f);
C .  s.on("error",f);
D .  s.on("default",f);
Answer: Option B


The above code snippet gets "end event fired on EOF when no more data will arrive.



Was this answer helpful ?
Next Question
Submit Your Solution hear:

Your email address will not be published. Required fields are marked *