1.

What is the method used to pause “data” events?(a) s.pause();(b) s.stop();(c) s.halt();(d) s.wait();I had been asked this question in an interview.Question is from Server-Side JavaScript in division Server-Side and Client-Side Scripting of JavaScript

Answer»

Right CHOICE is (a) s.pause();

EXPLANATION: Data events are the events which are performed by either the USER or the BROWSER. The above CODE snippet is used to pause data events, for throttling uploads.



Discussion

No Comment Found

Related InterviewSolutions