InterviewSolution
Saved Bookmarks
| 1. |
Which of the following is an event emitter?(a) once(b) process(c) listeners(d) on |
|
Answer» Right answer is (b) process To explain: 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(). |
|