Which of the following is a global object for a new worker?
Which of the following is a global object for a new worker? Correct Answer WorkerGlobalScope
A web worker is a JavaScript that runs in the background, independently of other scripts, without affecting the performance of the page. The WorkerGlobalScope is the global object for a new worker, and it is what a worker thread looks like, on the inside, to itself.