How to add a listener to event emitter?
Correct Answer: eventEmitter.on(‘event',connectHandler);
Explanation:
Note: This Question is unanswered, help us to find answer for this one
Node.js Skill Assessment
Your Skill Level: Poor
Retake Quizzes to improve it
More Node.js MCQ Questions
Which of the following is correct way to imports http module?
Which of the following is true about Node.JS?
Which of the following method resolves an ip address to an array of hostnames?
Which function will delete a file?
Which of the following methods can be used to read the filenames of a directory?
Which of the following code prints current directory?
Which of the following can be used to access the environment variable?
The NODE_DEBUG environment variable specifically turns logs for the following core functionality?
Which of the following methods will write 'text' without a trailing new line?
Which of the following frameworks is most popular Node.js framework?