Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which of the following is a global object for a new worker?

  2. A.

     WorkerGlobalScope

    B.

     Worker

    C.

     WorkerScope

    D.

     Window

    View Answer

    Workspace

    Answer : Option A

    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.


Be The First To Comment