Q25
Which of the following is a global object for a new worker?
A.
WorkerGlobalScope
AnswerB.
Worker
C.
WorkerScope
D.
Window
Answer: Option A
Solution
Answer: Option A
Solution:
The WorkerGlobalScope is the global object for a new worker, and it is what a worker thread looks like, on the inside, to itself.