Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which is the function that allows a worker to terminate itself?

  2. A.

     close()

    B.

     exit()

    C.

     terminate()

    D.

     halt()

    View Answer

    Workspace

    Answer : Option A

    Explanation :

    The close() function allows a worker to terminate itself, and it is similar in effect to the terminate() method of a Worker object.


Be The First To Comment