Home / CSE / Javascript - CS :: Discussion

Discussion :: Javascript - CS

  1. Which of the following is an event emitter?

  2. A.

     once

    B.

     process

    C.

     listeners

    D.

     on

    View Answer

    Workspace

    Answer : Option B

    Explanation :

    The process object is an event emitter. The Node defines other important globals under the process namespaces that contain properties of that object like version, argv, env, pid,getuid(), cwd(), chdir() and exit().


Be The First To Comment