Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which will be invoked to create a new worker?

  2. A.

     Function

    B.

     Destructor

    C.

     Constructor

    D.

     Interface

    View Answer

    Workspace

    Answer : Option C

    Explanation :

    To create a new worker, just use the Worker() constructor, passing a URL that specifies the JavaScript code that the worker is to run.


Be The First To Comment