1.

What are the events generated by the Node objects called?(a) generators(b) emitters(c) dispatchers(d) higheventsI have been asked this question by my school teacher while I was bunking the class.Origin of the question is Server-Side JavaScript in division Server-Side and Client-Side Scripting of JavaScript

Answer»

Correct choice is (B) EMITTERS

Best explanation: There are two classes of events ONE is called event listener and the other is called event emitter. Node OBJECTS that generate events (KNOWN as event emitters) define an on() method for registering handlers.



Discussion

No Comment Found

Related InterviewSolutions