When the “end” event fires on EOF when no more data will arrive, which function is called?
When the “end” event fires on EOF when no more data will arrive, which function is called? Correct Answer s.on(“end”,f);
”EOF” stands for end of file.The above code snippet gets “end” event fired on EOF when no more data will arrive.