Terminate() method in HTML5 is used for ____________.
Correct answer
C. terminate a web worker
13 views
C. terminate a web worker
13 views
The terminate() method is used to terminate a web worker. Calling worker.terminate() from the main script stops the worker immediately, without letting it finish its current task.
A worker can also stop itself from the inside by calling close().
Keep preparing with more Computer Science MCQs on MCQsExam.com.
Not sure why the answer is C? Ask here and get an explanation.