Question:terminate() method in HTML5 is used for____
A terminate everything
B terminate all method
C terminate a web worker
D terminate program
/91
+ Answer
C
+ ExplanationWhen a web worker object is created, it will continue to listen for messages until it is terminated.
To terminate a web worker, and free browser or computer resources, use the terminate() method.