Q. Which of the following is a global object for a new worker?
β
Correct Answer: (A)
WorkerGlobalScope
Explanation: The WorkerGlobalScope is the global object for a new worker, and it is what a worker thread looks like, on the inside, to itself.