What is the method used to pause “data” events?

What is the method used to pause “data” events?
A. s.pause();
B. s.stop();
C. s.halt();
D. s.wait();
 
Answer: a
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.
 

Tìm kiếm

Back
Top